Class: Shipping::PostShippingInstruction::Result
- Inherits:
-
Data
- Object
- Data
- Shipping::PostShippingInstruction::Result
- Defined in:
- app/services/shipping/post_shipping_instruction.rb
Overview
Service object: result.
Instance Attribute Summary collapse
-
#communications ⇒ Object
readonly
Returns the value of attribute communications.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(communications: [], status: nil, message: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(communications: [], status: nil, message: nil) ⇒ Result
Returns a new instance of Result.
6 |
# File 'app/services/shipping/post_shipping_instruction.rb', line 6 def initialize(communications: [], status: nil, message: nil) = super |
Instance Attribute Details
#communications ⇒ Object (readonly)
Returns the value of attribute communications
5 6 7 |
# File 'app/services/shipping/post_shipping_instruction.rb', line 5 def communications @communications end |
#message ⇒ Object (readonly)
Returns the value of attribute message
5 6 7 |
# File 'app/services/shipping/post_shipping_instruction.rb', line 5 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status
5 6 7 |
# File 'app/services/shipping/post_shipping_instruction.rb', line 5 def status @status end |