Class: PurolatorWebServices::Soap::KeyValueStrings
- Inherits:
-
Object
- Object
- PurolatorWebServices::Soap::KeyValueStrings
- Defined in:
- lib/purolator_web_services/soap/default.rb
Overview
/KeyValueStrings
key - SOAP::SOAPString
value - SOAP::SOAPString
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key = nil, value = nil) ⇒ KeyValueStrings
constructor
A new instance of KeyValueStrings.
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
#key ⇒ Object
Returns the value of attribute key.
150 151 152 |
# File 'lib/purolator_web_services/soap/default.rb', line 150 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
151 152 153 |
# File 'lib/purolator_web_services/soap/default.rb', line 151 def value @value end |