Class: Postal::Lmapi::KeyValueType

Inherits:
Object
  • Object
show all
Defined in:
lib/postal/lmapi/lmapi.rb

Overview

http://tempuri.org/ns1.xsdKeyValueType

value - SOAP::SOAPString
name - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value = nil, name = nil) ⇒ KeyValueType



554
555
556
557
# File 'lib/postal/lmapi/lmapi.rb', line 554

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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



552
553
554
# File 'lib/postal/lmapi/lmapi.rb', line 552

def name
  @name
end

#valueObject

Returns the value of attribute value.



551
552
553
# File 'lib/postal/lmapi/lmapi.rb', line 551

def value
  @value
end