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)


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

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

Instance Attribute Details

#extensionString (readonly)

Returns the value of attribute extension.

Returns:

  • (String)


555
556
557
# File 'sig/types.rbs', line 555

def extension
  @extension
end

#mime_typeString (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String)


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

def mime_type
  @mime_type
end