Class: ErpIntegration::TrackingNumber

Inherits:
Resource
  • Object
show all
Defined in:
lib/erp_integration/tracking_number.rb

Overview

The ‘ErpIntegration::TrackingNumber` exposes an uniformed API for interaction with third-party ERP vendors.

Instance Attribute Summary collapse

Attributes inherited from Resource

#raw_api_response

Method Summary

Methods inherited from Resource

adapter, adapter_klass, adapter_path, adapter_type, #assign_attributes, #initialize, #method_missing, resource_name, respond_to_missing?

Methods included from Resources::Persistence

#destroy, included, #persisted?, #update

Methods included from Resources::Validations

#errors, #valid?, #validate_with

Constructor Details

This class inherits a constructor from ErpIntegration::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ErpIntegration::Resource

Instance Attribute Details

#attachmentsObject

Returns the value of attribute attachments.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def attachments
  @attachments
end

#attemptsObject

Returns the value of attribute attempts.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def attempts
  @attempts
end

#carrierObject

Returns the value of attribute carrier.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def carrier
  @carrier
end

#carrier_identifierObject

Returns the value of attribute carrier_identifier.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def carrier_identifier
  @carrier_identifier
end

#carrier_serviceObject

Returns the value of attribute carrier_service.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def carrier_service
  @carrier_service
end

#create_dateObject

Returns the value of attribute create_date.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def create_date
  @create_date
end

#create_uidObject

Returns the value of attribute create_uid.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def create_uid
  @create_uid
end

#delivered_atObject

Returns the value of attribute delivered_at.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def delivered_at
  @delivered_at
end

#delivered_dateObject

Returns the value of attribute delivered_date.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def delivered_date
  @delivered_date
end

#delivery_dateObject

Returns the value of attribute delivery_date.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def delivery_date
  @delivery_date
end

#delivery_timeObject

Returns the value of attribute delivery_time.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def delivery_time
  @delivery_time
end

#easypost_order_idObject

Returns the value of attribute easypost_order_id.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def easypost_order_id
  @easypost_order_id
end

#estimated_delivery_dateObject

Returns the value of attribute estimated_delivery_date.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def estimated_delivery_date
  @estimated_delivery_date
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def id
  @id
end

#is_masterObject

Returns the value of attribute is_master.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def is_master
  @is_master
end

#messagesObject

Returns the value of attribute messages.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def messages
  @messages
end

#metadataObject

Returns the value of attribute metadata.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def 
  @metadata
end

#next_update_atObject

Returns the value of attribute next_update_at.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def next_update_at
  @next_update_at
end

#originObject

Returns the value of attribute origin.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def origin
  @origin
end

#private_notesObject

Returns the value of attribute private_notes.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def private_notes
  @private_notes
end

#public_notesObject

Returns the value of attribute public_notes.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def public_notes
  @public_notes
end

#rec_blurbObject

Returns the value of attribute rec_blurb.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def rec_blurb
  @rec_blurb
end

#rec_nameObject

Returns the value of attribute rec_name.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def rec_name
  @rec_name
end

#referenceObject

Returns the value of attribute reference.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def reference
  @reference
end

#scacObject

Returns the value of attribute scac.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def scac
  @scac
end

#stateObject

Returns the value of attribute state.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def state
  @state
end

#tracking_numberObject

Returns the value of attribute tracking_number.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def tracking_number
  @tracking_number
end

#tracking_urlObject

Returns the value of attribute tracking_url.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def tracking_url
  @tracking_url
end

#transportation_modeObject

Returns the value of attribute transportation_mode.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def transportation_mode
  @transportation_mode
end

#write_dateObject

Returns the value of attribute write_date.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def write_date
  @write_date
end

#write_uidObject

Returns the value of attribute write_uid.



7
8
9
# File 'lib/erp_integration/tracking_number.rb', line 7

def write_uid
  @write_uid
end