Class: Xberg::SupportedFormat

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSupportedFormat

Returns a new instance of SupportedFormat.

Parameters:

  • extension: (String)
  • mime_type: (String)


560
# File 'sig/types.rbs', line 560

def initialize: (extension: String, mime_type: String) -> void

Instance Attribute Details

#extensionString (readonly)

Returns the value of attribute extension.

Returns:

  • (String)


557
558
559
# File 'sig/types.rbs', line 557

def extension
  @extension
end

#mime_typeString (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String)


558
559
560
# File 'sig/types.rbs', line 558

def mime_type
  @mime_type
end