facebook-messenger 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6e54b09796e5d59f6fbdb7e6dab787eb3629e087
|
4
|
+
data.tar.gz: a884a6da8ad943914d1cebcb1f618727355b1b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ca334c3f03a0f568d348dcfbe1dfa30d4e172a209c5cfeffe48592f2c261f10e6d4b19167a60a7b96a5e038e38dc3461f33bd3899951d17b4654a4e05056559
|
7
|
+
data.tar.gz: 79de3e3e5cb1114651a69778bef47bbd33e259433ca375403aaa043161b41bab0d7ff8b4624e2121580a6dba2c94138c17dd6e40e7d078e543caef0d9f4bc0b8
|
@@ -28,10 +28,12 @@ module Facebook
|
|
28
28
|
# @return [Boolean] TRUE
|
29
29
|
#
|
30
30
|
def subscribe(access_token:, subscribed_fields: [])
|
31
|
-
response = post '/subscribed_apps',
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
response = post '/subscribed_apps',
|
32
|
+
headers: { 'Content-Type' => 'application/json' },
|
33
|
+
body: {
|
34
|
+
access_token: access_token,
|
35
|
+
subscribed_fields: subscribed_fields
|
36
|
+
}.to_json
|
35
37
|
|
36
38
|
raise_errors(response)
|
37
39
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebook-messenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johannes Gorset
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -48,16 +48,16 @@ dependencies:
|
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - "
|
58
|
+
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: coveralls
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
requirements: []
|
221
221
|
rubyforge_project:
|
222
|
-
rubygems_version: 2.
|
222
|
+
rubygems_version: 2.6.8
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: Facebook Messenger client
|