Class: Clova::Request
- Inherits:
-
Object
- Object
- Clova::Request
- Defined in:
- lib/clova-speech/request/request.rb
Direct Known Subclasses
EventRequest, IntentRequest, LaunchRequest, SessionEndedRequest
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#session ⇒ Object
readonly
Returns the value of attribute session.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(session:, context:, request:, version:) ⇒ Request
constructor
A new instance of Request.
- #session_attributes ⇒ Object
Constructor Details
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
3 4 5 |
# File 'lib/clova-speech/request/request.rb', line 3 def context @context end |
#session ⇒ Object (readonly)
Returns the value of attribute session.
3 4 5 |
# File 'lib/clova-speech/request/request.rb', line 3 def session @session end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
3 4 5 |
# File 'lib/clova-speech/request/request.rb', line 3 def version @version end |
Instance Method Details
#session_attributes ⇒ Object
11 12 13 |
# File 'lib/clova-speech/request/request.rb', line 11 def session_attributes @session.session_attributes end |