Class: Punchblock::Component::Tropo::Ask::Choices

Inherits:
Input::Grammar show all
Defined in:
lib/punchblock/component/tropo/ask.rb

Instance Attribute Summary

Attributes inherited from RayoNode

#call_id, #client, #component_id, #connection, #original_component

Class Method Summary collapse

Methods inherited from Input::Grammar

#content_type, #content_type=, #eql?, #inspect_attributes, #value, #value=

Methods inherited from RayoNode

class_from_registration, #eql?, import, #inspect, #inspect_attributes, register, #source

Class Method Details

.new(options = {}) ⇒ Object

Parameters:

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

Options Hash (options):

  • :content_type (String)
  • :value (String)

    the choices available



174
175
176
177
178
# File 'lib/punchblock/component/tropo/ask.rb', line 174

def self.new(options = {})
  super(options).tap do |new_node|
    new_node.name = 'choices'
  end
end