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)


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

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

Instance Attribute Details

#filenameString (readonly)

Returns the value of attribute filename.

Returns:

  • (String)


1716
1717
1718
# File 'sig/types.rbs', line 1716

def filename
  @filename
end

#mime_typeString (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String)


1715
1716
1717
# File 'sig/types.rbs', line 1715

def mime_type
  @mime_type
end