clova-speech 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clova.rb +0 -4
- data/lib/clova/request.rb +5 -15
- data/lib/clova/{event_request.rb → request/event_request.rb} +0 -0
- data/lib/clova/{intent_request.rb → request/intent_request.rb} +0 -0
- data/lib/clova/{launch_request.rb → request/launch_request.rb} +0 -0
- data/lib/clova/request/request.rb +15 -0
- data/lib/clova/{session_ended_request.rb → request/session_ended_request.rb} +0 -0
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9093c33d344a382e1f2cf77e25bf905ac97e7988b4416d23409218f53f2496b8
|
4
|
+
data.tar.gz: ded5e59869ac1fa4a4f79bee9da6d9db45fdd95e3286d47a2f57e3a04871794b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 349dd41db79422b833f7c000bae907b310feedcacd32feb1e86a70374e0d8c4eff7516dd105289c2734797d9f2caf12f98960cb2bbd3cc0b028fd6d379d0d784
|
7
|
+
data.tar.gz: 0302c34823b8038a9a2ca354b50b277a2b6917238e1458c88081e1f76d34205f0ac4d70fb36ea176c238a87df9f154bf667eb3b403f96a53351f1d0632c90e7d
|
data/lib/clova.rb
CHANGED
@@ -2,13 +2,9 @@ require 'clova/version'
|
|
2
2
|
require 'clova/config'
|
3
3
|
require 'clova/request'
|
4
4
|
require 'clova/response'
|
5
|
-
require 'clova/event_request'
|
6
|
-
require 'clova/intent_request'
|
7
5
|
require 'clova/output_speech'
|
8
6
|
require 'clova/validator'
|
9
7
|
require 'clova/session'
|
10
|
-
require 'clova/launch_request'
|
11
|
-
require 'clova/session_ended_request'
|
12
8
|
require 'clova/client'
|
13
9
|
require 'clova/skill'
|
14
10
|
require 'json'
|
data/lib/clova/request.rb
CHANGED
@@ -1,15 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
@context = context
|
7
|
-
@session = Session.new(session)
|
8
|
-
@version = version
|
9
|
-
end
|
10
|
-
|
11
|
-
def session_attributes
|
12
|
-
@session.session_attributes
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
1
|
+
require 'request/request'
|
2
|
+
require 'request/intent_request'
|
3
|
+
require 'request/event_request'
|
4
|
+
require 'request/launch_request'
|
5
|
+
require 'request/session_ended_request'
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Clova
|
2
|
+
class Request
|
3
|
+
attr_reader :session, :context, :version
|
4
|
+
|
5
|
+
def initialize(session:, context:, request:, version:)
|
6
|
+
@context = context
|
7
|
+
@session = Session.new(session)
|
8
|
+
@version = version
|
9
|
+
end
|
10
|
+
|
11
|
+
def session_attributes
|
12
|
+
@session.session_attributes
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clova-speech
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Isaiah Bush
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: openssl
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
description: Clova API - SDK of the LINE Clova Smart Speaker API for Ruby. Developed
|
70
70
|
as part of an internship at LINE Corp
|
71
71
|
email:
|
72
|
-
- itbush@cs.stanford.com,
|
72
|
+
- itbush@cs.stanford.com, itbush1998@gmail.com
|
73
73
|
executables: []
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
@@ -78,14 +78,15 @@ files:
|
|
78
78
|
- lib/clova.rb
|
79
79
|
- lib/clova/client.rb
|
80
80
|
- lib/clova/config.rb
|
81
|
-
- lib/clova/event_request.rb
|
82
|
-
- lib/clova/intent_request.rb
|
83
|
-
- lib/clova/launch_request.rb
|
84
81
|
- lib/clova/output_speech.rb
|
85
82
|
- lib/clova/request.rb
|
83
|
+
- lib/clova/request/event_request.rb
|
84
|
+
- lib/clova/request/intent_request.rb
|
85
|
+
- lib/clova/request/launch_request.rb
|
86
|
+
- lib/clova/request/request.rb
|
87
|
+
- lib/clova/request/session_ended_request.rb
|
86
88
|
- lib/clova/response.rb
|
87
89
|
- lib/clova/session.rb
|
88
|
-
- lib/clova/session_ended_request.rb
|
89
90
|
- lib/clova/skill.rb
|
90
91
|
- lib/clova/validator.rb
|
91
92
|
- lib/clova/version.rb
|