chargebee 2.7.0 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/estimate.rb +8 -0
- data/lib/chargebee/models/transaction.rb +4 -0
- 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: 10fa49b3ee8ed8dca25b7527359029784a8af56e
|
4
|
+
data.tar.gz: 0d6fa392787a961cc2dfe9e505abd48b33b4be50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84b5ee5b02234645ce18d23a478b8ad98029d6bbd12344905d93ca9c0df3cef8d0600b74e58624c6f02066ac2146134a85598c315ae8bc00e5dad6f3701454c5
|
7
|
+
data.tar.gz: f57cc36bf1f7e9bd6c8774cfb239f84346bbf49bfa4d2e1fc288e3b881ede3fc7de4ebc1132090d9fef6a10c08f7cb494aa7b47d9b0f9319da9d139c28952589
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
### v2.7.1 (2019-09-13)
|
2
|
+
* * *
|
3
|
+
|
4
|
+
* New endpoints gift_subscription_estimate and create_invoice_estimate have been added in estimate resource.
|
5
|
+
* New input parameter reference_id in payment_intent has been added in create_a_gift, create_an_invoice, create_using_payment_intent, create_a_subscription, create_subscription_for_customer, update_a_subscription, reactivate_a_subscription, resume_a_subscription, create_a_customer and collect_payment_for_customer api.
|
6
|
+
* New endpoint record_refund_for_a_payment has been added in transaction resource.
|
7
|
+
|
1
8
|
### v2.7.0 (2019-08-27)
|
2
9
|
* * *
|
3
10
|
|
data/chargebee.gemspec
CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
s.required_ruby_version = '>= 1.9.3'
|
6
6
|
s.name = 'chargebee'
|
7
|
-
s.version = '2.7.
|
8
|
-
s.date = '2019-
|
7
|
+
s.version = '2.7.1'
|
8
|
+
s.date = '2019-09-13'
|
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
@@ -43,5 +43,13 @@ module ChargeBee
|
|
43
43
|
Request.send('post', uri_path("subscriptions",id.to_s,"resume_subscription_estimate"), params, env, headers)
|
44
44
|
end
|
45
45
|
|
46
|
+
def self.gift_subscription(params, env=nil, headers={})
|
47
|
+
Request.send('post', uri_path("estimates","gift_subscription"), params, env, headers)
|
48
|
+
end
|
49
|
+
|
50
|
+
def self.create_invoice(params, env=nil, headers={})
|
51
|
+
Request.send('post', uri_path("estimates","create_invoice"), params, env, headers)
|
52
|
+
end
|
53
|
+
|
46
54
|
end # ~Estimate
|
47
55
|
end # ~ChargeBee
|
@@ -36,6 +36,10 @@ module ChargeBee
|
|
36
36
|
Request.send('post', uri_path("transactions",id.to_s,"void"), {}, env, headers)
|
37
37
|
end
|
38
38
|
|
39
|
+
def self.record_refund(id, params, env=nil, headers={})
|
40
|
+
Request.send('post', uri_path("transactions",id.to_s,"record_refund"), params, env, headers)
|
41
|
+
end
|
42
|
+
|
39
43
|
def self.list(params={}, env=nil, headers={})
|
40
44
|
Request.send_list_request('get', uri_path("transactions"), params, env, headers)
|
41
45
|
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: 2.7.
|
4
|
+
version: 2.7.1
|
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: 2019-
|
12
|
+
date: 2019-09-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|