Class: Plivo::Play
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(body, attributes = {}) ⇒ Play
constructor
A new instance of Play.
Methods inherited from Element
#add, #convert_value, #method_missing, #to_s, #to_xml
Constructor Details
#initialize(body, attributes = {}) ⇒ Play
Returns a new instance of Play.
646 647 648 649 650 651 |
# File 'lib/plivo.rb', line 646 def initialize(body, attributes={}) if not body raise PlivoError 'No url set for Play' end super(body, attributes) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Plivo::Element