chargebee 1.5.0 → 1.5.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
2
  SHA1:
3
- metadata.gz: 844bc2ff90cfbf1782158c357bf4d7d065875ff4
4
- data.tar.gz: 59a9eff7f8de51672b1f447648c04acc341b9b0d
3
+ metadata.gz: 1d0614f27743899615cfa14096ca5f1803a92895
4
+ data.tar.gz: 680ca9bdc81cc6f00f64a418fd338fb7304056ac
5
5
  SHA512:
6
- metadata.gz: 7a4dc8da4b147d8108562eb28468444fbc4ee92615cfe3cf020cf921c93c6c8bd88c3d2fb5dc94f79c5be0cab1f6075269d0d6af8543105af21b8f67d66937ba
7
- data.tar.gz: bcfddbabaa68d630772ccc27fa510a29190cef5ba2c516be15ac9e5e3a1f8698d2168697959940c89fdb360cc5b923d67b3b9703a535ec15bba875ef6b18b4c8
6
+ metadata.gz: cd1d1d33618da9eaf472ed2fd2a4fd3f63c837a3d6f7b274a919615019e46fe63d8c31fc747a43e864469d386c77cf7be8ce07af75ca7adfb3d7b193ce72a6f1
7
+ data.tar.gz: 21ea0a4f8208babd5075917dbe24e109276001f15b9928a3be1ceefe8fa5964c871f16c66ff3651e930aefc8ba7296f243a1d44e6b1c01c30f472bca580fb4fb
@@ -1,3 +1,17 @@
1
+ ### v1.5.1 (2015-01-07)
2
+ * * *
3
+
4
+ Support for PayPal & Amazon payment added.
5
+
6
+ ** APIs added**:
7
+ A new API called Update payment method(HostedPage) added to support allowing customers to update their payment method with PayPal and Amazon payments. See https://apidocs.chargebee.com/docs/api/hosted_pages#update_payment_method for details.
8
+
9
+ ** APIs deprecated**:
10
+ Update card(HostedPage) API is deprecated as an alternate API is added.
11
+
12
+ ** APIs updated**:
13
+ Create a customer API now accepts the end user IP.
14
+
1
15
  ### v1.5.0 (2014-12-02)
2
16
  * * *
3
17
 
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'chargebee'
7
- s.version = '1.5.0'
8
- s.date = '2014-12-02'
7
+ s.version = '1.5.1'
8
+ s.date = '2015-01-06'
9
9
 
10
10
  s.summary = "Ruby client for Chargebee API."
11
11
  s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
@@ -28,7 +28,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
28
28
 
29
29
  module ChargeBee
30
30
 
31
- VERSION = '1.5.0'
31
+ VERSION = '1.5.1'
32
32
 
33
33
  @@default_env = nil
34
34
  @@verify_ca_certs = true
@@ -10,7 +10,7 @@ module ChargeBee
10
10
  end
11
11
 
12
12
  attr_accessor :id, :first_name, :last_name, :email, :phone, :company, :vat_number, :auto_collection,
13
- :created_at, :card_status, :billing_address, :payment_method
13
+ :created_at, :created_from_ip, :card_status, :billing_address, :payment_method
14
14
 
15
15
  # OPERATIONS
16
16
  #-----------
@@ -30,6 +30,10 @@ module ChargeBee
30
30
  Request.send('post', uri_path("hosted_pages","update_card"), params, env)
31
31
  end
32
32
 
33
+ def self.update_payment_method(params, env=nil)
34
+ Request.send('post', uri_path("hosted_pages","update_payment_method"), params, env)
35
+ end
36
+
33
37
  def self.checkout_onetime_charge(params, env=nil)
34
38
  Request.send('post', uri_path("hosted_pages","checkout_onetime_charge"), params, env)
35
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajaraman S
@@ -9,62 +9,62 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-02 00:00:00.000000000 Z
12
+ date: 2015-01-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ~>
19
19
  - !ruby/object:Gem::Version
20
20
  version: '1.5'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ~>
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.5'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rest-client
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.4'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.4'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rpsec
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ~>
47
47
  - !ruby/object:Gem::Version
48
48
  version: 2.9.0
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ~>
54
54
  - !ruby/object:Gem::Version
55
55
  version: 2.9.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: mocha
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  description: Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com.
@@ -118,22 +118,22 @@ licenses: []
118
118
  metadata: {}
119
119
  post_install_message:
120
120
  rdoc_options:
121
- - "--charset=UTF-8"
121
+ - --charset=UTF-8
122
122
  require_paths:
123
123
  - lib
124
124
  required_ruby_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ">="
126
+ - - '>='
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - ">="
131
+ - - '>='
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  requirements: []
135
135
  rubyforge_project:
136
- rubygems_version: 2.4.4
136
+ rubygems_version: 2.4.5
137
137
  signing_key:
138
138
  specification_version: 2
139
139
  summary: Ruby client for Chargebee API.