class ActionAlexa::Intent::Base

Base Intent class which provides some basic sanity methods

for the Skill intents defined by the application

Constants

AMAZON_API_URL

Attributes

name[RW]
alexa_payload[R]
alexa_response[R]

Public Class Methods

new(alexa_payload) click to toggle source
# File lib/action_alexa/intent/base.rb, line 18
def initialize(alexa_payload)
  @alexa_payload = alexa_payload
  @alexa_response = ActionAlexa::Response.new
end

Public Instance Methods

execute() click to toggle source
# File lib/action_alexa/intent/base.rb, line 23
def execute
  raise 'Implement this method in your intent subclass'
end