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)


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

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

Instance Attribute Details

#filenameString (readonly)

Returns the value of attribute filename.

Returns:

  • (String)


1807
1808
1809
# File 'sig/types.rbs', line 1807

def filename
  @filename
end

#mime_typeString (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String)


1806
1807
1808
# File 'sig/types.rbs', line 1806

def mime_type
  @mime_type
end