Class: Bandwidth::Voice::PhoneNumber
- Inherits:
-
Object
- Object
- Bandwidth::Voice::PhoneNumber
- Includes:
- XmlVerb
- Defined in:
- lib/bandwidth/voice_lib/bxml/verbs/phone_number.rb
Instance Method Summary collapse
Methods included from XmlVerb
#compact_hash, #initialize, #method_missing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bandwidth::Voice::XmlVerb
Instance Method Details
#to_bxml(xml) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/bandwidth/voice_lib/bxml/verbs/phone_number.rb', line 8 def to_bxml(xml) xml.PhoneNumber(number, compact_hash({ 'transferAnswerUrl' => transfer_answer_url, 'transferAnswerMethod' => transfer_answer_method, 'username' => username, 'password' => password, 'tag' => tag })) end |