Class: Bandwidth::Bxml::SendDtmf
- Defined in:
- lib/bandwidth-sdk/models/bxml/verbs/send_dtmf.rb
Instance Method Summary collapse
-
#initialize(digits, attributes = {}) ⇒ SendDtmf
constructor
Initializer.
Methods inherited from Verb
#generate_xml, #set_attributes, #to_bxml
Constructor Details
#initialize(digits, attributes = {}) ⇒ SendDtmf
Initializer
7 8 9 10 11 12 13 14 |
# File 'lib/bandwidth-sdk/models/bxml/verbs/send_dtmf.rb', line 7 def initialize(digits, attributes = {}) super('SendDtmf', digits, attributes) @attribute_map = { tone_duration: 'toneDuration', # Optional [Number]: The length (in milliseconds) of each DTMF tone. Default value is 200. Range: decimal values between 50 - 5000. tone_interval: 'toneInterval', # Optional [Number]: The duration of silence (in milliseconds) following each DTMF tone. Default value is 400. Range: decimal values between 50 - 5000. } end |