Class: FreightKit::DocumentResponse

Inherits:
Response show all
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

Attributes inherited from Response

#error, #request, #response

Method Summary

Methods inherited from Model

#attributes, #initialize

Constructor Details

This class inherits a constructor from FreightKit::Model

Instance Attribute Details

#content_typeString

Returns The HTTP Content-Type.

Returns:

  • (String)

    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

#dataString

Returns Raw document data.

Returns:

  • (String)

    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