Class: Adhearsion::CallController::Input::AskGrammarBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/adhearsion/call_controller/input/ask_grammar_builder.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ AskGrammarBuilder

Returns a new instance of AskGrammarBuilder



7
8
9
# File 'lib/adhearsion/call_controller/input/ask_grammar_builder.rb', line 7

def initialize(options)
  @options = options
end

Instance Method Details

#grammarsObject



11
12
13
# File 'lib/adhearsion/call_controller/input/ask_grammar_builder.rb', line 11

def grammars
  @grammars ||= build_grammars
end