Class: AlexaRuby::LaunchRequest

Inherits:
BaseRequest show all
Defined in:
lib/alexa_ruby/request/launch_request.rb

Overview

LaunchRequest class implements Alexa “LaunchRequest” request type

Instance Attribute Summary

Attributes inherited from BaseRequest

#certificates_chain_url, #context, #id, #locale, #session, #signature, #timestamp, #type, #version

Instance Method Summary collapse

Methods inherited from BaseRequest

#json, #valid?

Constructor Details

#initialize(request) ⇒ LaunchRequest

Initialize new launch request

Parameters:

  • request (Hash)

    valid request from Amazon Alexa service


7
8
9
10
# File 'lib/alexa_ruby/request/launch_request.rb', line 7

def initialize(request)
  @type = :launch
  super
end