chargebee 2.0.9 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/.DS_Store +0 -0
- data/lib/chargebee/models/customer.rb +4 -0
- data/lib/chargebee/models/subscription.rb +4 -0
- data/lib/chargebee/rest.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cf60e7dcf7ac9c9113454bc674e89ee3334388e
|
4
|
+
data.tar.gz: 0e3918e3d996e075cc4d715b440195209fe042eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19771914635bab6d30ee61485a19230f2773b4d36fd4bf9d96642cd604b06d2b8e98981d64e94873fc44fee7e2bfc14d246235d54e403bdeff5ef74520259876
|
7
|
+
data.tar.gz: 31d8115314524ab444dafd443fef2d76732c0a12674b82580215ea8bd503f89acaf0707fe6e1d03fe3a20f6ab7de6816b07c79ae6a56dac91224fb79b88bd97d
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
###v2.1.0 (2016-07-18)
|
2
|
+
* * *
|
3
|
+
** APIs added**:
|
4
|
+
A new endpoint to remove coupons associated with the subscription is added. See : https://apidocs.chargebee.com/docs/api/subscriptions#remove_coupons
|
5
|
+
A new endpoint to record excess payments for a customer is added. See : https://apidocs.chargebee.com/docs/api/customers#record_an_excess_payment_for_a_customer
|
6
|
+
|
1
7
|
###v2.0.9 (2016-07-06)
|
2
8
|
* * *
|
3
9
|
** APIs added**:
|
data/chargebee.gemspec
CHANGED
@@ -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 = '2.0
|
8
|
-
s.date = '2016-07-
|
7
|
+
s.version = '2.1.0'
|
8
|
+
s.date = '2016-07-18'
|
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."
|
data/lib/chargebee.rb
CHANGED
data/lib/chargebee/.DS_Store
CHANGED
Binary file
|
@@ -69,6 +69,10 @@ module ChargeBee
|
|
69
69
|
Request.send('post', uri_path("customers",id.to_s,"set_promotional_credits"), params, env, headers)
|
70
70
|
end
|
71
71
|
|
72
|
+
def self.record_excess_payment(id, params, env=nil, headers={})
|
73
|
+
Request.send('post', uri_path("customers",id.to_s,"record_excess_payment"), params, env, headers)
|
74
|
+
end
|
75
|
+
|
72
76
|
def self.delete(id, params={}, env=nil, headers={})
|
73
77
|
Request.send('post', uri_path("customers",id.to_s,"delete"), params, env, headers)
|
74
78
|
end
|
@@ -54,6 +54,10 @@ module ChargeBee
|
|
54
54
|
Request.send('post', uri_path("subscriptions",id.to_s,"remove_scheduled_cancellation"), params, env, headers)
|
55
55
|
end
|
56
56
|
|
57
|
+
def self.remove_coupons(id, params={}, env=nil, headers={})
|
58
|
+
Request.send('post', uri_path("subscriptions",id.to_s,"remove_coupons"), params, env, headers)
|
59
|
+
end
|
60
|
+
|
57
61
|
def self.update(id, params={}, env=nil, headers={})
|
58
62
|
Request.send('post', uri_path("subscriptions",id.to_s), params, env, headers)
|
59
63
|
end
|
data/lib/chargebee/rest.rb
CHANGED
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: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajaraman S
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|