Class: Shipping::PostShippingInstruction::Result

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

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#communicationsObject (readonly)

Returns the value of attribute communications

Returns:

  • (Object)

    the current value of communications



5
6
7
# File 'app/services/shipping/post_shipping_instruction.rb', line 5

def communications
  @communications
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



5
6
7
# File 'app/services/shipping/post_shipping_instruction.rb', line 5

def message
  @message
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



5
6
7
# File 'app/services/shipping/post_shipping_instruction.rb', line 5

def status
  @status
end