Class: Edi::Amazon::ShipWithAmazon::TrackingResult
- Inherits:
-
Data
- Object
- Data
- Edi::Amazon::ShipWithAmazon::TrackingResult
- Defined in:
- app/services/edi/amazon/ship_with_amazon.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#event_history ⇒ Object
readonly
Returns the value of attribute event_history.
-
#promised_delivery_date ⇒ Object
readonly
Returns the value of attribute promised_delivery_date.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
-
#tracking_id ⇒ Object
readonly
Returns the value of attribute tracking_id.
Instance Method Summary collapse
-
#initialize(success: nil, tracking_id: nil, status: nil, event_history: nil, promised_delivery_date: nil, error: nil) ⇒ TrackingResult
constructor
A new instance of TrackingResult.
Constructor Details
#initialize(success: nil, tracking_id: nil, status: nil, event_history: nil, promised_delivery_date: nil, error: nil) ⇒ TrackingResult
Returns a new instance of TrackingResult.
33 |
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 33 def initialize(success: nil, tracking_id: nil, status: nil, event_history: nil, promised_delivery_date: nil, error: nil) = super |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
32 33 34 |
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 32 def error @error end |
#event_history ⇒ Object (readonly)
Returns the value of attribute event_history
32 33 34 |
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 32 def event_history @event_history end |
#promised_delivery_date ⇒ Object (readonly)
Returns the value of attribute promised_delivery_date
32 33 34 |
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 32 def promised_delivery_date @promised_delivery_date end |
#status ⇒ Object (readonly)
Returns the value of attribute status
32 33 34 |
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 32 def status @status end |
#success ⇒ Object (readonly)
Returns the value of attribute success
32 33 34 |
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 32 def success @success end |
#tracking_id ⇒ Object (readonly)
Returns the value of attribute tracking_id
32 33 34 |
# File 'app/services/edi/amazon/ship_with_amazon.rb', line 32 def tracking_id @tracking_id end |