Class: Shipping::UpdateShippingMethod::Result

Inherits:
Struct
  • Object
show all
Defined in:
app/services/shipping/update_shipping_method.rb

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Attribute Details

#deliveryObject

Returns the value of attribute delivery

Returns:

  • (Object)

    the current value of delivery



24
25
26
# File 'app/services/shipping/update_shipping_method.rb', line 24

def delivery
  @delivery
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



24
25
26
# File 'app/services/shipping/update_shipping_method.rb', line 24

def errors
  @errors
end

#itemizableObject

Returns the value of attribute itemizable

Returns:

  • (Object)

    the current value of itemizable



24
25
26
# File 'app/services/shipping/update_shipping_method.rb', line 24

def itemizable
  @itemizable
end

#messagesObject

Returns the value of attribute messages

Returns:

  • (Object)

    the current value of messages



24
25
26
# File 'app/services/shipping/update_shipping_method.rb', line 24

def messages
  @messages
end

#success?Object

Returns the value of attribute success?

Returns:

  • (Object)

    the current value of success?



24
25
26
# File 'app/services/shipping/update_shipping_method.rb', line 24

def success?
  @success?
end