Class: Shipping::PostShippingInstruction::Result
- Inherits:
-
Data
- Object
- Data
- Shipping::PostShippingInstruction::Result
- Defined in:
- app/services/shipping/post_shipping_instruction.rb
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.
4 |
# File 'app/services/shipping/post_shipping_instruction.rb', line 4 def initialize(communications: [], status: nil, message: nil) = super |
Instance Attribute Details
#communications ⇒ Object (readonly)
Returns the value of attribute communications
3 4 5 |
# File 'app/services/shipping/post_shipping_instruction.rb', line 3 def communications @communications end |
#message ⇒ Object (readonly)
Returns the value of attribute message
3 4 5 |
# File 'app/services/shipping/post_shipping_instruction.rb', line 3 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status
3 4 5 |
# File 'app/services/shipping/post_shipping_instruction.rb', line 3 def status @status end |