Class: Bandwidth::Bxml::Ring
- Defined in:
- lib/bandwidth-sdk/models/bxml/verbs/ring.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Ring
constructor
Initializer.
Methods inherited from Verb
#generate_xml, #set_attributes, #to_bxml
Constructor Details
#initialize(attributes = {}) ⇒ Ring
Initializer
6 7 8 9 10 11 12 13 |
# File 'lib/bandwidth-sdk/models/bxml/verbs/ring.rb', line 6 def initialize(attributes = {}) super('Ring', nil, attributes) @attribute_map = { duration: 'duration', # Optional [Number]: How many seconds to play ringing on the call. Default value is 5. Range: decimal values between 0.1 - 86400. answer_call: 'answerCall', # Optional [Boolean]: A boolean indicating whether or not to answer the call when Ring is executed on an unanswered incoming call. Default value is 'true'. } end |