Class: PurolatorWebServices::Soap::ResultBase

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

Overview

/ResultBase

status - SOAP::SOAPInt
messages - PurolatorWebServices::Soap::ArrayOfResultMessage

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, messages = nil) ⇒ ResultBase

Returns a new instance of ResultBase.



263
264
265
266
# File 'lib/purolator_web_services/soap/default.rb', line 263

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

Instance Attribute Details

#messagesObject

Returns the value of attribute messages.



261
262
263
# File 'lib/purolator_web_services/soap/default.rb', line 261

def messages
  @messages
end

#statusObject

Returns the value of attribute status.



260
261
262
# File 'lib/purolator_web_services/soap/default.rb', line 260

def status
  @status
end