Class: Plivo::User
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(body, attributes = {}) ⇒ User
constructor
A new instance of User.
Methods inherited from Element
#add, #convert_value, #method_missing, #to_s, #to_xml
Constructor Details
#initialize(body, attributes = {}) ⇒ User
694 695 696 697 698 699 |
# File 'lib/plivo.rb', line 694 def initialize(body, attributes={}) if not body raise PlivoError, 'No user set for User' end super(body, attributes) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Plivo::Element