Class: PurolatorWebServices::Soap::ResultMessage

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

Overview

/ResultMessage

number - SOAP::SOAPInt
severity - SOAP::SOAPInt
message - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(number = nil, severity = nil, message = nil) ⇒ ResultMessage

Returns a new instance of ResultMessage.



553
554
555
556
557
# File 'lib/purolator_web_services/soap/default.rb', line 553

def initialize(number = nil, severity = nil, message = nil)
  @number = number
  @severity = severity
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



551
552
553
# File 'lib/purolator_web_services/soap/default.rb', line 551

def message
  @message
end

#numberObject

Returns the value of attribute number.



549
550
551
# File 'lib/purolator_web_services/soap/default.rb', line 549

def number
  @number
end

#severityObject

Returns the value of attribute severity.



550
551
552
# File 'lib/purolator_web_services/soap/default.rb', line 550

def severity
  @severity
end