whatsapp_sdk 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -4
- data/lib/whatsapp_sdk/api/client.rb +5 -5
- data/lib/whatsapp_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed93aabe8b6cb2967a908c8ae113f76529462e1b768bd3cc523ed7cd0873e958
|
4
|
+
data.tar.gz: a016f51ad25dcd88e0cce06b9e42feeae0ff0812daaffe2c700cd4aeb5f724ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64241a3b2899343c95f87ae6541246c472266a5c061b294e9c13fe25088d5eacdeff671f25bf830dc5700240c64c64be3d0d539458ae05721ede51adba341e25
|
7
|
+
data.tar.gz: 1fc21288923a4092d4830be7f730284c492900195795d963db99f9830d4eceee8119d03596ff06c6a62711eee11ad9af1bdfccbf77c42f177581ed06b82da8d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Unreleased
|
2
2
|
|
3
|
+
# v 1.0.1
|
4
|
+
- Send the current client instance to the initializer of the client resource #165
|
5
|
+
[#165](https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk/pull/165) @omarowns
|
6
|
+
|
3
7
|
# v 1.0.0
|
4
8
|
- Implement a Better response API [159](https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk/pull/156)
|
5
9
|
- Implement a Better API for calling the Cloud API [156](https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk/pull/156)
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
whatsapp_sdk (1.0.
|
4
|
+
whatsapp_sdk (1.0.2)
|
5
5
|
faraday (~> 2.0, > 2.0.1)
|
6
6
|
faraday-multipart (~> 1)
|
7
7
|
zeitwerk (~> 2)
|
@@ -45,8 +45,7 @@ GEM
|
|
45
45
|
rainbow (3.1.1)
|
46
46
|
rake (12.3.3)
|
47
47
|
regexp_parser (2.5.0)
|
48
|
-
rexml (3.3.
|
49
|
-
strscan
|
48
|
+
rexml (3.3.9)
|
50
49
|
rubocop (1.30.1)
|
51
50
|
parallel (~> 1.10)
|
52
51
|
parser (>= 3.1.0.0)
|
@@ -64,7 +63,6 @@ GEM
|
|
64
63
|
rubocop (>= 1.7.0, < 2.0)
|
65
64
|
rubocop-ast (>= 0.4.0)
|
66
65
|
ruby-progressbar (1.11.0)
|
67
|
-
strscan (3.1.0)
|
68
66
|
unicode-display_width (2.2.0)
|
69
67
|
uri (0.13.1)
|
70
68
|
vcr (6.3.1)
|
@@ -28,23 +28,23 @@ module WhatsappSdk
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def media
|
31
|
-
@media ||= WhatsappSdk::Api::Medias.new
|
31
|
+
@media ||= WhatsappSdk::Api::Medias.new(self)
|
32
32
|
end
|
33
33
|
|
34
34
|
def messages
|
35
|
-
@messages ||= WhatsappSdk::Api::Messages.new
|
35
|
+
@messages ||= WhatsappSdk::Api::Messages.new(self)
|
36
36
|
end
|
37
37
|
|
38
38
|
def phone_numbers
|
39
|
-
@phone_numbers ||= WhatsappSdk::Api::PhoneNumbers.new
|
39
|
+
@phone_numbers ||= WhatsappSdk::Api::PhoneNumbers.new(self)
|
40
40
|
end
|
41
41
|
|
42
42
|
def business_profiles
|
43
|
-
@business_profiles ||= WhatsappSdk::Api::BusinessProfile.new
|
43
|
+
@business_profiles ||= WhatsappSdk::Api::BusinessProfile.new(self)
|
44
44
|
end
|
45
45
|
|
46
46
|
def templates
|
47
|
-
@templates ||= WhatsappSdk::Api::Templates.new
|
47
|
+
@templates ||= WhatsappSdk::Api::Templates.new(self)
|
48
48
|
end
|
49
49
|
|
50
50
|
def send_request(endpoint: "", full_url: nil, http_method: "post", params: {}, headers: {}, multipart: false)
|
data/lib/whatsapp_sdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whatsapp_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ignacio-chiazzo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|