Class: VmoboSchema::Recipient

Inherits:
Object
  • Object
show all
Defined in:
lib/splat/vendors/vmobo/xml/schema.rb

Overview

{}recipient

Constant Summary collapse

@@schema_type =
"recipient"
@@schema_ns =
nil
@@schema_element =
[["phone_number", "SOAP::SOAPString"], ["attributes", "Attributes"]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(phone_number = nil, attributes = nil) ⇒ Recipient

Returns a new instance of Recipient.



27
28
29
30
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 27

def initialize(phone_number = nil, attributes = nil)
  @phone_number = phone_number
  @attributes = attributes
end

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



25
26
27
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 25

def attributes
  @attributes
end

#phone_numberObject

Returns the value of attribute phone_number.



24
25
26
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 24

def phone_number
  @phone_number
end