khipu-chaski-api-client 1.0.9 → 1.1.0

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
- SHA1:
3
- metadata.gz: 5f26aef6114250fe8ae95265c05a4092a0e5cef3
4
- data.tar.gz: 3d2b0ad49fc29c0c5c9cf94b9fc8fa6e1e9b4145
2
+ SHA256:
3
+ metadata.gz: 5c8b8b5d9a0e3c788bd977b1e26ed28b89bd8c32b748652dc2e002836f508632
4
+ data.tar.gz: d24113972ce9d1422b7178278b298fa5a0acaa9e6c79386368fff7541e6e5cbb
5
5
  SHA512:
6
- metadata.gz: 1823df4f2a06abde46de223bef90e6da95f0eb4b241cece715353dd7d74c363174e405691d129a297e2a06dd1068bb6efdecdd8866cab106262c2ac3a9418e5b
7
- data.tar.gz: f4fe8d0c5fa80beb06a6026065367c559616d8625ed52225ce0de6d2394f4410cff07ef63504bf70bb7f8e49c1a25b3059274c74f8f50ac35f739478b21ff7cd
6
+ metadata.gz: c0167c37991d202c831669a154bf62f33118e7055bb7fcdfa576b911c1ac8272ff67ce398cadca556881b4bdaeb0935a44729506828de13457e8ecfdaeb8bdd7
7
+ data.tar.gz: 8a1af0f70402f7db81e92ff392f73c17d333e1c7080418934d1975fb0d7bda6be9801c1b084a51a944bcf60af711c1555ba4925994f79a4eef4c78bc2c8536df
data/README.md CHANGED
@@ -21,7 +21,7 @@ end
21
21
  #### Send push message
22
22
  ```ruby
23
23
  api = KhipuChaski::PushNotificationsApi.new()
24
- response = api.msg_post('recipientId', 'subject', 'Hello!!')
24
+ response = api.send_message(KhipuChaski::Message.new({"recipientIdSet" => ["recipient1"], "subject" => "subject", "body" => "Hello!!"}))
25
25
 
26
26
  print response
27
27
 
@@ -30,3 +30,4 @@ print response
30
30
  ### Documentation
31
31
 
32
32
  - [gem docs](http://www.rubydoc.info/gems/khipu-chaski-api-client/)
33
+
@@ -112,8 +112,8 @@ module KhipuChaski
112
112
 
113
113
  def initialize
114
114
  @scheme = 'https'
115
- @host = 'khipu.com'
116
- @base_path = '/chaski/api/1.0'
115
+ @host = 'chaski.khipu.com'
116
+ @base_path = '/api/1.0'
117
117
  @api_key = {}
118
118
  @api_key_prefix = {}
119
119
  @verify_ssl = true
@@ -1,3 +1,3 @@
1
1
  module KhipuChaski
2
- VERSION = "1.0.9"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: khipu-chaski-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - khipu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-09 00:00:00.000000000 Z
11
+ date: 2019-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -237,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
237
  version: '0'
238
238
  requirements: []
239
239
  rubyforge_project:
240
- rubygems_version: 2.5.2.1
240
+ rubygems_version: 2.7.6
241
241
  signing_key:
242
242
  specification_version: 4
243
243
  summary: A ruby wrapper for the khipu APIs