messenger-ruby 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/messenger/parameters/message.rb +1 -1
- data/lib/messenger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d38ac08d7148579e6c2acd158fe5da375d0664fd
|
4
|
+
data.tar.gz: 2397174f21176dbbe6be0a095ae242a8632a785b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a71fb4206096cdb737b1cda4431151b21200d56ec17704b06b98fb95f3ce0249ac9ec3a7efbc7a4f69afa1d66491025c7bcd1ca3d11f601a9c2dd216df5b21e
|
7
|
+
data.tar.gz: 502795ee238a3a0a10b74f93321989a6f53218914b55af45ff434a5807c8872cc6e17f4b960dbc44628e0ffbc720d2264bde591d23c8adc72c6418562fead9d3
|
data/README.md
CHANGED
@@ -74,6 +74,7 @@ If you want your controller to be named differently, please update your `routes.
|
|
74
74
|
|
75
75
|
Run your application and:
|
76
76
|
* complete step __2. Setup Webhook__ from [this tutorial](https://developers.facebook.com/docs/messenger-platform/quickstart#steps) - _if you mounted `Messenger::Engine` at `/messenger` and your application can be found at `https://example.com`, your `Callback URL` will be `https://example.com/messenger/webhook`_
|
77
|
+
* select `message_deliveries`, `messages`, `messaging_optins` and `messaging_postbacks` under Subscription Fields
|
77
78
|
* visit `/messenger/subscribe` in your app (it's replacement for __[4. Subscribe the App to the Page](https://developers.facebook.com/docs/messenger-platform/quickstart#steps)__ step) - call `subscribe` action anytime you want to refresh subscription of your app
|
78
79
|
|
79
80
|
## Usage
|
@@ -13,7 +13,7 @@ module Messenger
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def build_attachments(attachments)
|
16
|
-
attachments.map { |attachment| Attachment.new(attachment.symbolize_keys) }
|
16
|
+
attachments.map { |attachment| Attachment.new(attachment.symbolize_keys.slice(:type, :payload)) }
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
data/lib/messenger/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: messenger-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- justynjozwiak
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|