Class: Xberg::DetectResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDetectResponse

Returns a new instance of DetectResponse.

Parameters:

  • mime_type: (String)
  • filename: (String)


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

def initialize: (mime_type: String, ?filename: String) -> void

Instance Attribute Details

#filenameString (readonly)

Returns the value of attribute filename.

Returns:

  • (String)


1781
1782
1783
# File 'sig/types.rbs', line 1781

def filename
  @filename
end

#mime_typeString (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String)


1780
1781
1782
# File 'sig/types.rbs', line 1780

def mime_type
  @mime_type
end