Skip to content

Commit 6f45490

Browse files
committed
Version 1.4.0
1 parent 501c45d commit 6f45490

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[1.4.0]
2+
- Validate Amazon request signature and SSL certificates
3+
14
[1.3.1]
25
- Slot can have no value at all
36

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,22 @@ class App < Roda
6363
end
6464
```
6565

66-
Request validations can be disabled:
66+
Request structure validations can be disabled:
6767

6868
```ruby
6969
AlexaRuby.new(request, disable_validations: true)
7070
```
7171

72+
If needed, you can validate request signature and Amazon SSL certificates chain. To do so specify several parameters:
73+
74+
```ruby
75+
AlexaRuby.new(
76+
request,
77+
certificates_chain_url: url,
78+
request_signature: signature
79+
)
80+
```
81+
7282
After initializing new AlexaRuby instance you will have a possibility to access
7383
all parameters of the received request.
7484

lib/alexa_ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module AlexaRuby
2-
VERSION = '1.3.1'.freeze
2+
VERSION = '1.4.0'.freeze
33
end

0 commit comments

Comments
 (0)