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



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

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

Instance Attribute Details

#messageObject

Returns the value of attribute message



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

def message
  @message
end

#successObject

Returns the value of attribute success



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

def success
  @success
end