Class: ChannelAdvisor::ShippingServiceSOAP::ShipmentResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/shipping_service/types.rb

Overview

http://api.channeladvisor.com/datacontracts/ShippingServiceShipmentResponse

success - SOAP::SOAPBoolean
message - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success = nil, message = nil) ⇒ ShipmentResponse

Returns a new instance of ShipmentResponse.



326
327
328
329
# File 'lib/channel_advisor/shipping_service/types.rb', line 326

def initialize(success = nil, message = nil)
  @success = success
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



324
325
326
# File 'lib/channel_advisor/shipping_service/types.rb', line 324

def message
  @message
end

#successObject

Returns the value of attribute success.



323
324
325
# File 'lib/channel_advisor/shipping_service/types.rb', line 323

def success
  @success
end