freshchat_whatsapp 0.1.3 → 0.1.5

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
2
  SHA256:
3
- metadata.gz: bde4be3ea04e4aaccc7fb5721d605ef0baaa6a5655ddf2109b87db95851f29bb
4
- data.tar.gz: afb637de2dedc51348abef1278e80e0994788ec92bd2108eb288cc8c5cc17007
3
+ metadata.gz: ab004f43222e1abd82bbc99343b0ae4d539daeb02a6476348b90f5ac4ca1f7a2
4
+ data.tar.gz: a71cf5f55557233039e15921d07ad904dcf1a2f7843b3050d54f6c4c78fd0c94
5
5
  SHA512:
6
- metadata.gz: 7ec2800369347bfd116ec96b0d24bb3add8f500c1f923dcc404990aee13af53a69a26f0896438d124c54b13b7db10a3f0f8699a6972f57c0ee1f7dd1d29ac86d
7
- data.tar.gz: a790c828a85332081079cb9244e5128d7cfae5adf425653b5f5c0c311e43fac7e88f51c049f887a147c687e9f37e0a3624597eeddb58defd287711a21bc4d25e
6
+ metadata.gz: 1daef8da70246dd8ca93b3ad842e06712de1021df1fab66e0ba09fec5eac0856ff68708febc7dba8b690e2e515b736a530c915e71bc5c993a874a20844c3095e
7
+ data.tar.gz: 902ac4559d1f21a4b3f400728a88457e0c4ecca1ee2701b3bc2754750997a7e8a5b1cf49e91c38bdc50dcb6e595a7ff7b2330ceea42193f1ee36f9a9a12a7a16
@@ -40,7 +40,7 @@ module FreshchatWhatsapp
40
40
  'template_name': @template_name,
41
41
  'language': {
42
42
  'policy': 'deterministic',
43
- 'code': 'en'
43
+ 'code': @language
44
44
  }
45
45
  }
46
46
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  module FreshchatWhatsapp
4
4
  class Client
5
- def initialize(base_path=nil, token=nil, batoken_type = :bearer)
5
+ def initialize(base_path=nil, token=nil, token_type = :bearer)
6
6
  @base_path = base_path || FreshchatWhatsapp.configuration.base_path
7
7
  @token = token || FreshchatWhatsapp.configuration.api_key
8
8
  @token_type = token_type
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FreshchatWhatsapp
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freshchat_whatsapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvind Vyas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-05 00:00:00.000000000 Z
11
+ date: 2024-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday