Module: ActionAlexa

Defined in:
lib/action_alexa.rb,
lib/action_alexa/skill.rb,
lib/action_alexa/railtie.rb,
lib/action_alexa/version.rb,
lib/action_alexa/response.rb,
lib/action_alexa/exceptions.rb,
lib/action_alexa/intent/base.rb,
lib/action_alexa/alexa_request.rb,
lib/action_alexa/configuration.rb,
lib/action_alexa/intent/registry.rb,
lib/action_alexa/intent/authorization.rb,
lib/action_alexa/request_payload/request.rb,
lib/action_alexa/request_payload/session.rb

Overview

Base

Defined Under Namespace

Modules: Intent, RequestPayload Classes: AlexaRequest, Configuration, Error, MissingConfiguration, Railtie, Response, Skill

Constant Summary collapse

VERSION =
'0.1.2'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



19
20
21
# File 'lib/action_alexa.rb', line 19

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



22
23
24
25
26
# File 'lib/action_alexa.rb', line 22

def self.configure
  self.config ||= ActionAlexa::Configuration.new

  yield config if block_given?
end