module Alexa

This class represents the device part in the request.

Provides easy access to session data from the request.

Extends from HashWithIndifferentAccess and initailised with the session hash from the request

Session variables: Session variables can be accessed the same way as accessing hash with keys. “`ruby session # Reads the variable session.merge!(my_var: “Some value”) # Write a session variable “`

Apart from session handling, class also provides an API to other session related information.

Constants

VERSION

Attributes

configuration[W]

Public Class Methods

configuration() click to toggle source
# File lib/alexa-rails.rb, line 24
def self.configuration
  @_configuration ||= Alexa::Configuration.new
end
configure() { |configuration| ... } click to toggle source
# File lib/alexa-rails.rb, line 28
def self.configure
  yield(configuration)
end