Class: VmoboSchema::Recipient
- Inherits:
-
Object
- Object
- VmoboSchema::Recipient
- 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
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#phone_number ⇒ Object
Returns the value of attribute phone_number.
Instance Method Summary collapse
-
#initialize(phone_number = nil, attributes = nil) ⇒ Recipient
constructor
A new instance of Recipient.
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
#attributes ⇒ Object
Returns the value of attribute attributes.
25 26 27 |
# File 'lib/splat/vendors/vmobo/xml/schema.rb', line 25 def attributes @attributes end |
#phone_number ⇒ Object
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 |