Class: FreightKit::DocumentResponse
- Defined in:
- lib/freight_kit/models/document_response.rb
Overview
Represents the response to calls:
- {FreightKit::Carrier#bol}
- {FreightKit::Carrier#pod}
- {FreightKit::Carrier#scanned_bol}
Instance Attribute Summary collapse
-
#content_type ⇒ String
The HTTP
Content-Type. -
#data ⇒ String
Raw document data.
Attributes inherited from Response
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from FreightKit::Model
Instance Attribute Details
#content_type ⇒ String
Returns The HTTP Content-Type.
14 15 16 |
# File 'lib/freight_kit/models/document_response.rb', line 14 class DocumentResponse < Response attr_accessor :content_type, :data end |
#data ⇒ String
Returns Raw document data.
14 15 16 |
# File 'lib/freight_kit/models/document_response.rb', line 14 class DocumentResponse < Response attr_accessor :content_type, :data end |