sendinblue 2.2 → 2.3

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
  SHA1:
3
- metadata.gz: 4d907e88495daf72176a0f0efb4906bca07458ba
4
- data.tar.gz: 943c190a482a8e4192ba4098c986740a8cadb36a
3
+ metadata.gz: 71cabb6ca61ca45379f1f0f5959fc73a7a83bde6
4
+ data.tar.gz: 2d7e8dc636888e83ea4f47415befcc5dc1a1274a
5
5
  SHA512:
6
- metadata.gz: 1523799072e27ca448e00ee9896be53ffc86606c807a802b13267fe3fe80d3dc6ee5bd2a404aef195e239bcb75f1049747ac06b1fa0f51b011a5c2a944a1b944
7
- data.tar.gz: e2c62f052c92a61f7f783378ffe8a8d68c8a605742697e853b780533a7df1060d7cfe7e834b45ce4c53165e5841ccc0acd4913d183a14a6f02a94634f9c8fdab
6
+ metadata.gz: 76dc14b6812aaa1f55a2487a31c3337ae911e8b1c76834ce80f6bca22fa59092d5f0d9c777dc3ea6d164ad9ab712e60cd2a7924b216e9e5a33614e053741a301
7
+ data.tar.gz: 7a8167be67d1247709dd7a64d848c7419436548a4aacffbb30d84c3f537c4c4d34f9981b635677a3fa17daab5eb1e246f4beb1a1fbbddcd693ad2631a4d95388
data/README.md CHANGED
@@ -61,12 +61,12 @@ puts result
61
61
 
62
62
  ##Recommendation:
63
63
 
64
- Sendinblue Ruby GEM has been upgraded to new version 2.2 with object-based wrapper & have new way of sending input parameters.
64
+ Sendinblue Ruby GEM has been upgraded to new version 2.3 with object-based wrapper & have new way of sending input parameters.
65
65
 
66
- If earlier you were using version 2.0, & now upgraded to version 2.2, then you may face error in APIs like, example for send_email() api
66
+ If earlier you were using version 2.0, & now upgraded to version 2.3, then you may face error in APIs like, example for send_email() api
67
67
 
68
68
  ```ruby
69
- /var/lib/gems/2.x.x/gems/sendinblue-2.1/lib/sendinblue.rb:360:in `send_email': wrong number of arguments (10 for 1) (ArgumentError)
69
+ /var/lib/gems/2.x.x/gems/sendinblue-2.0/lib/sendinblue.rb:360:in `send_email': wrong number of arguments (10 for 1) (ArgumentError)
70
70
  from yourTestFile.rb:<line_no>:in `<main>'
71
71
  ```
72
72
 
@@ -23,7 +23,7 @@ module Sendinblue
23
23
  else
24
24
  response = HTTParty.delete(called_url,:body=>input, :headers => {"api-key"=>@api_key,"content-type"=>content_type})
25
25
  end
26
- return response.body
26
+ return JSON.parse(response.body)
27
27
  end
28
28
  def get(resource,input)
29
29
  return do_request(resource,"GET",input)
@@ -1,3 +1,3 @@
1
1
  module Sendinblue
2
- VERSION = "2.2"
2
+ VERSION = "2.3"
3
3
  end
@@ -6,7 +6,7 @@ require 'sendinblue/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "sendinblue"
8
8
  spec.version = Sendinblue::VERSION
9
- spec.date = "2015-09-11"
9
+ spec.date = "2016-01-22"
10
10
  spec.authors = ["SendinBlue Developers"]
11
11
  spec.email = ["contact@sendinblue.com"]
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendinblue
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.2'
4
+ version: '2.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - SendinBlue Developers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2016-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json