Class: PurolatorWebServices::Soap::KeyValueDecimal

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

Overview

/KeyValueDecimal

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KeyValueDecimal.



632
633
634
635
# File 'lib/purolator_web_services/soap/default.rb', line 632

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

Instance Attribute Details

#keyObject

Returns the value of attribute key.



629
630
631
# File 'lib/purolator_web_services/soap/default.rb', line 629

def key
  @key
end

#valueObject

Returns the value of attribute value.



630
631
632
# File 'lib/purolator_web_services/soap/default.rb', line 630

def value
  @value
end