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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72516ab0c72a9674e96c31415d76e883efb0c4cc
4
- data.tar.gz: 860b7ed2bb57ca864327b7148ba601b4e9e67818
3
+ metadata.gz: 2f0f8cd7939c5361ac5b9c3d6cf535e4538b3928
4
+ data.tar.gz: 993959abfb46234b004a5cb957b9b13e8b05c04e
5
5
  SHA512:
6
- metadata.gz: a43fe65dc5ab04f343c59634cfc0217bd7cc11331c028776ad645f63877800a241fa48e159733445052f5631da4e73ace3178a53a5c1c2aa6cee3e8a6d6a6908
7
- data.tar.gz: 104ee6d023d145c9a710ef7c0c4f0a7663f4d23bad5ce3f9ef866885c6d8d019a19d07671fd22a6738fec91cb6992c71a5145b15bf8a636fc39d04a422c8542b
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.7'
8
- s.date = '2015-06-12'
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
@@ -28,7 +28,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
28
28
 
29
29
  module ChargeBee
30
30
 
31
- VERSION = '1.5.7'
31
+ VERSION = '1.5.8'
32
32
 
33
33
  @@default_env = nil
34
34
  @@verify_ca_certs = true
@@ -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.7
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 00:00:00.000000000 Z
12
+ date: 2015-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure