chargebee 1.5.7 → 1.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/invoice.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: 2f0f8cd7939c5361ac5b9c3d6cf535e4538b3928
|
4
|
+
data.tar.gz: 993959abfb46234b004a5cb957b9b13e8b05c04e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69bbdf8d7e56ef74b94bdd546cbc9cd6c1434cd1c2da27ff2ccf0359fd46bd2404709e595a72c6df524c8ae421be92839c68b0e8bfe789c42189a9fffeacafae
|
7
|
+
data.tar.gz: c3a425336af5697f74e77ebe6d3ccff9898adacb5cee57bed81d8771ef0011b8699bbb472dea5dcbe69270c267f83bb7dee7923a493b0bff6006844146ff5a6b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
### v1.5.8 (2015-06-18)
|
2
|
+
* * *
|
3
|
+
|
4
|
+
** APIs added**:
|
5
|
+
|
6
|
+
New api endpoint to Void an invoice is added. See : https://apidocs.chargebee.com/docs/api/invoices#void_an_invoice
|
7
|
+
|
8
|
+
** APIs updated**:
|
9
|
+
|
10
|
+
A new invoice status "voided" is returned as part of "status" attribute in invoice resource. See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
|
11
|
+
|
12
|
+
** APIs deprecated**:
|
13
|
+
|
14
|
+
Update card for hosted page method API has been deprecated. Use "Update payment method" API to update card details. Read more about upadate payment method : https://apidocs.chargebee.com/docs/api/hosted_pages#update_payment_method
|
15
|
+
|
1
16
|
### v1.5.7 (2015-06-12)
|
2
17
|
* * *
|
3
18
|
|
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 = '1.5.
|
8
|
-
s.date = '2015-06-
|
7
|
+
s.version = '1.5.8'
|
8
|
+
s.date = '2015-06-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
@@ -92,6 +92,10 @@ module ChargeBee
|
|
92
92
|
Request.send('post', uri_path("invoices",id.to_s,"refund"), params, env, headers)
|
93
93
|
end
|
94
94
|
|
95
|
+
def self.void_invoice(id, params={}, env=nil, headers={})
|
96
|
+
Request.send('post', uri_path("invoices",id.to_s,"void"), params, env, headers)
|
97
|
+
end
|
98
|
+
|
95
99
|
def self.delete(id, params={}, env=nil, headers={})
|
96
100
|
Request.send('post', uri_path("invoices",id.to_s,"delete"), params, env, headers)
|
97
101
|
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.
|
4
|
+
version: 1.5.8
|
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: 2015-06-
|
12
|
+
date: 2015-06-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|