File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change
1
+ [1.4.0]
2
+ - Validate Amazon request signature and SSL certificates
3
+
1
4
[1.3.1]
2
5
- Slot can have no value at all
3
6
Original file line number Diff line number Diff line change @@ -63,12 +63,22 @@ class App < Roda
63
63
end
64
64
```
65
65
66
- Request validations can be disabled:
66
+ Request structure validations can be disabled:
67
67
68
68
``` ruby
69
69
AlexaRuby .new (request, disable_validations: true )
70
70
```
71
71
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
+
72
82
After initializing new AlexaRuby instance you will have a possibility to access
73
83
all parameters of the received request.
74
84
Original file line number Diff line number Diff line change 1
1
module AlexaRuby
2
- VERSION = '1.3.1 ' . freeze
2
+ VERSION = '1.4.0 ' . freeze
3
3
end
You can’t perform that action at this time.
0 commit comments