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)


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

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

Instance Attribute Details

#filenameString (readonly)

Returns the value of attribute filename.

Returns:

  • (String)


1844
1845
1846
# File 'sig/types.rbs', line 1844

def filename
  @filename
end

#mime_typeString (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String)


1843
1844
1845
# File 'sig/types.rbs', line 1843

def mime_type
  @mime_type
end