Class: Shipping::LtlShippingInsurance::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status: nil, status_message: nil) ⇒ Result

Returns a new instance of Result.



3
# File 'app/services/shipping/ltl_shipping_insurance.rb', line 3

def initialize(status: nil, status_message: nil) = super

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



2
3
4
# File 'app/services/shipping/ltl_shipping_insurance.rb', line 2

def status
  @status
end

#status_messageObject (readonly)

Returns the value of attribute status_message

Returns:

  • (Object)

    the current value of status_message



2
3
4
# File 'app/services/shipping/ltl_shipping_insurance.rb', line 2

def status_message
  @status_message
end