chargebee 1.5.3 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a73e12a6ffd11c9a4632132659a393562e5ba70
4
- data.tar.gz: 9170c3470406d2a8405851340151c3cb51509ec5
3
+ metadata.gz: 4787ed44077d2a663b80e96a1f2d77332c842777
4
+ data.tar.gz: dfb12685272d9a93fc32f1f30c3f33460c7bca81
5
5
  SHA512:
6
- metadata.gz: 632c61b40d6eda7cecd2c8d0c2b6cd84c6df3288e29d068dcc8de3bfabe3cca74b7a7432a3e82da02feba20d5a5a5233f643e998fd1604123a61d117425cbc1b
7
- data.tar.gz: 4a53b78cc7f1e3bf62102c1ea361e2cc86f18b2683913a646e312a2f8a74c9cf4da345595aeab19ea2ffc4b07d398200a36ca98d99027478153dad72928823a5
6
+ metadata.gz: b99b29b4734154d81d1c9bf48bd95bc7c1cbd403fc7158e001aa210769f588fe0f8879e974d87e43efd20806d8ac1a1aacea1a8895381d6354315ecb015eb3e2
7
+ data.tar.gz: f643c47f7f41727f3417f92430b5b6279178991d924adcfb09054c14f303ee6761dca5b3a02b5a6af1b5985cc102e7fb9b816be93d4222fae964520f159372f3
@@ -1,3 +1,18 @@
1
+ ### v1.5.4 (2015-03-30)
2
+ * * *
3
+
4
+ ** APIs added**:
5
+
6
+ A new API "Delete an Invoice" added to delete un-paid invoices. This feature was supported through admin console earlier, now it is available via API too.
7
+ See https://apidocs.chargebee.com/docs/api/invoices#delete_an_invoice.
8
+
9
+ ** APIs updated**:
10
+
11
+ Create subscription/customer, update subscription/payment method APIs now accepts the IP Address of customer for card resource.
12
+
13
+ Now, event "invoice_deleted" can be fetched via API.
14
+ See https://apidocs.chargebee.com/docs/api/events#event_types.
15
+
1
16
  ### v1.5.3 (2015-02-27)
2
17
  * * *
3
18
 
@@ -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.3'
8
- s.date = '2015-02-27'
7
+ s.version = '1.5.4'
8
+ s.date = '2015-03-31'
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.3'
31
+ VERSION = '1.5.4'
32
32
 
33
33
  @@default_env = nil
34
34
  @@verify_ca_certs = true
@@ -3,7 +3,7 @@ module ChargeBee
3
3
 
4
4
  attr_accessor :customer_id, :status, :gateway, :first_name, :last_name, :iin, :last4, :card_type,
5
5
  :expiry_month, :expiry_year, :billing_addr1, :billing_addr2, :billing_city, :billing_state_code,
6
- :billing_state, :billing_country, :billing_zip, :masked_number
6
+ :billing_state, :billing_country, :billing_zip, :ip_address, :masked_number
7
7
 
8
8
  # OPERATIONS
9
9
  #-----------
@@ -84,5 +84,9 @@ module ChargeBee
84
84
  Request.send('post', uri_path("invoices",id.to_s,"refund"), params, env)
85
85
  end
86
86
 
87
+ def self.delete(id, params={}, env=nil)
88
+ Request.send('post', uri_path("invoices",id.to_s,"delete"), params, env)
89
+ end
90
+
87
91
  end # ~Invoice
88
92
  end # ~ChargeBee
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.3
4
+ version: 1.5.4
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-02-27 00:00:00.000000000 Z
12
+ date: 2015-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure