Class: Shipping::PostShippingInstruction::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/shipping/post_shipping_instruction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#communicationsObject (readonly)

Returns the value of attribute communications

Returns:

  • (Object)

    the current value of communications



3
4
5
# File 'app/services/shipping/post_shipping_instruction.rb', line 3

def communications
  @communications
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



3
4
5
# File 'app/services/shipping/post_shipping_instruction.rb', line 3

def message
  @message
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



3
4
5
# File 'app/services/shipping/post_shipping_instruction.rb', line 3

def status
  @status
end