Class: PurolatorWebServices::Soap::KeyValueStrings

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

Overview

/KeyValueStrings

key - SOAP::SOAPString
value - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ KeyValueStrings

Returns a new instance of KeyValueStrings.



153
154
155
156
# File 'lib/purolator_web_services/soap/default.rb', line 153

def initialize(key = nil, value = nil)
  @key = key
  @value = value
end

Instance Attribute Details

#keyObject

Returns the value of attribute key.



150
151
152
# File 'lib/purolator_web_services/soap/default.rb', line 150

def key
  @key
end

#valueObject

Returns the value of attribute value.



151
152
153
# File 'lib/purolator_web_services/soap/default.rb', line 151

def value
  @value
end