Class: Bandwidth::Bxml::Pause

Inherits:
Verb
  • Object
show all
Defined in:
lib/bandwidth-sdk/models/bxml/verbs/pause.rb

Instance Method Summary collapse

Methods inherited from Verb

#generate_xml, #set_attributes, #to_bxml

Constructor Details

#initialize(attributes = {}) ⇒ Pause

Initializer

Parameters:

  • attributes (Hash) (defaults to: {})

    The attributes to add to the element. Defaults to an empty hash.



6
7
8
9
10
11
12
# File 'lib/bandwidth-sdk/models/bxml/verbs/pause.rb', line 6

def initialize(attributes = {})
  super('Pause', nil, attributes)
  
  @attribute_map = {
    duration: 'duration', # Optional [Number]: The time in seconds to pause. Default value is 1.
  }
end