Class: PurolatorWebServices::Soap::LabelResult

Inherits:
ResultBase
  • Object
show all
Defined in:
lib/purolator_web_services/soap/default.rb

Overview

/LabelResult

status - SOAP::SOAPInt
messages - PurolatorWebServices::Soap::ArrayOfResultMessage
request - PurolatorWebServices::Soap::LabelRequest
package - PurolatorWebServices::Soap::ResultPackage

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, messages = nil, request = nil, package = nil) ⇒ LabelResult

Returns a new instance of LabelResult.



412
413
414
415
416
417
# File 'lib/purolator_web_services/soap/default.rb', line 412

def initialize(status = nil, messages = nil, request = nil, package = nil)
  @status = status
  @messages = messages
  @request = request
  @package = package
end

Instance Attribute Details

#messagesObject

Returns the value of attribute messages.



408
409
410
# File 'lib/purolator_web_services/soap/default.rb', line 408

def messages
  @messages
end

#packageObject

Returns the value of attribute package.



410
411
412
# File 'lib/purolator_web_services/soap/default.rb', line 410

def package
  @package
end

#requestObject

Returns the value of attribute request.



409
410
411
# File 'lib/purolator_web_services/soap/default.rb', line 409

def request
  @request
end

#statusObject

Returns the value of attribute status.



407
408
409
# File 'lib/purolator_web_services/soap/default.rb', line 407

def status
  @status
end