Class: AlexaGenerator::IntentSchema

Inherits:
Object
  • Object
show all
Defined in:
lib/alexa_generator/intent_schema.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(intents) ⇒ IntentSchema

Returns a new instance of IntentSchema.



7
8
9
# File 'lib/alexa_generator/intent_schema.rb', line 7

def initialize(intents)
  @intents = intents
end

Instance Attribute Details

#intentsObject (readonly)

Returns the value of attribute intents.



5
6
7
# File 'lib/alexa_generator/intent_schema.rb', line 5

def intents
  @intents
end