kave_rest_api 0.2 → 0.2.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
- SHA1:
3
- metadata.gz: e7a4e79e8b37df1496d9c4d70919cb72950a54b8
4
- data.tar.gz: af9a928e4cafa6af2518f0fc4d06af354f4b0f30
2
+ SHA256:
3
+ metadata.gz: 328af30f5dc7c6d97c3370a768011af852696b37a2ab72b566bdbc5f584cce52
4
+ data.tar.gz: '01285a67958ec47f017e095adcf1ebcff7a3e851adf686db8b3875e59f1d9f81'
5
5
  SHA512:
6
- metadata.gz: 6483110893abc9e49bea9c10bc922720704f4567339efcd3529c816ad990c790eb25bb8a7a635dd7374bf34579c3c911a9de5c492aa8fad6cbb73cf64a12bb0b
7
- data.tar.gz: 0a03289ce6bbfa8cdeb8aa8a4e96e6d03e2b2a6abfc817a23fbc57809383687866cc49a6f1c3431860a55d63a2f2e1ac030fece7dfebf2e183a7d5e895594b35
6
+ metadata.gz: 9e17dfa574191040cdfbdc7a79efc0bc0fa7f74fe829c7a119d28b180253fe7ec2d9ae31d5ccffc56e84404d6c5c0b86d4c064d892b169398c2c9eb7d2dda658
7
+ data.tar.gz: eb99c086c424f258046212b5a51fe3c79107acfb2c770e13d024dc0bd12399cc42d45bc29ac76041ffe732ea000c72a26f080c6368dd69eacaff26c3534f7be2
@@ -29,7 +29,7 @@ module KaveRestApi
29
29
  def call
30
30
  connection = Faraday.new(url: "#{API_URL}/sms/") do |faraday|
31
31
  faraday.adapter Faraday.default_adapter
32
- faraday.response FORMAT.to_sym
32
+ faraday.response @FORMAT.to_sym
33
33
  end
34
34
  response = connection.get(ACTION_NAME,isread: @isread, linenumber: @linenumber,startdate: @startdate,enddate: @enddate)
35
35
  @response.validate(response.body)
@@ -23,7 +23,7 @@ module KaveRestApi
23
23
  def call
24
24
  connection = Faraday.new(url: "#{API_URL}/sms/") do |faraday|
25
25
  faraday.adapter Faraday.default_adapter
26
- faraday.response FORMAT.to_sym
26
+ faraday.response @FORMAT.to_sym
27
27
  end
28
28
  response = connection.get(ACTION_NAME,isread: @isread, linenumber: @linenumber,startdate: @startdate,enddate: @enddate)
29
29
  @response.validate(response.body)
@@ -23,7 +23,7 @@ module KaveRestApi
23
23
  def call
24
24
  connection = Faraday.new(url: "#{API_URL}/sms/") do |faraday|
25
25
  faraday.adapter Faraday.default_adapter
26
- faraday.response FORMAT.to_sym
26
+ faraday.response @FORMAT.to_sym
27
27
  end
28
28
  response = connection.get(ACTION_NAME,countpostalcode: @countpostalcode)
29
29
  @response.validate(response.body)
@@ -21,7 +21,7 @@ module KaveRestApi
21
21
  def call
22
22
  connection = Faraday.new(url: "#{@API_URL}/sms/") do |faraday|
23
23
  faraday.adapter Faraday.default_adapter
24
- faraday.response FORMAT.to_sym
24
+ faraday.response @FORMAT.to_sym
25
25
  end
26
26
  response = connection.get(@ACTION_NAME, messageid: @messageid)
27
27
  @response.validate(response.body)
@@ -8,7 +8,7 @@ module KaveRestApi
8
8
  def call
9
9
  connection = Faraday.new(url: "#{API_URL}/account/") do |faraday|
10
10
  faraday.adapter Faraday.default_adapter
11
- faraday.response FORMAT.to_sym
11
+ faraday.response @FORMAT.to_sym
12
12
  end
13
13
  response = connection.get(@ACTION_NAME)
14
14
  @response.validate(response.body)
@@ -36,7 +36,7 @@ module KaveRestApi
36
36
  faraday.adapter Faraday.default_adapter
37
37
  faraday.response @FORMAT.to_sym
38
38
  end
39
- response = connection.get(@ACTION_NAME, receptor: @receptor , message: @message,localid: @localid,sender: @sender,date: @date,type: @type)
39
+ response = connection.get(@ACTION_NAME, receptor: @receptor,token: @token,token2: @token2, token3: @token3 ,template: @template, message: @message,localid: @localid,sender: @sender,date: @date,type: @type)
40
40
  @response.validate(response.body)
41
41
  end
42
42
 
@@ -21,7 +21,7 @@ module KaveRestApi
21
21
  def call
22
22
  connection = Faraday.new(url: "#{API_URL}/sms/") do |faraday|
23
23
  faraday.adapter Faraday.default_adapter
24
- faraday.response FORMAT.to_sym
24
+ faraday.response @FORMAT.to_sym
25
25
  end
26
26
  response = connection.get(ACTION_NAME, sender: @sender,startdate: @startdate,enddate: @enddate)
27
27
  @response.validate(response.body)
@@ -1,3 +1,3 @@
1
1
  module KaveRestApi
2
- VERSION = "0.2"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kave_rest_api
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mohammad mahmoudi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-09 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -185,7 +185,7 @@ homepage: https://github.com/mm580486/kave_rest_api/
185
185
  licenses:
186
186
  - MIT
187
187
  metadata: {}
188
- post_install_message:
188
+ post_install_message:
189
189
  rdoc_options: []
190
190
  require_paths:
191
191
  - lib
@@ -200,9 +200,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  requirements: []
203
- rubyforge_project:
204
- rubygems_version: 2.6.11
205
- signing_key:
203
+ rubygems_version: 3.3.15
204
+ signing_key:
206
205
  specification_version: 4
207
206
  summary: Ruby gem to send and receive SMS via kavenegar API(rest)
208
207
  test_files: []