chargebee 1.5.3 → 1.5.4
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/card.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: 4787ed44077d2a663b80e96a1f2d77332c842777
|
4
|
+
data.tar.gz: dfb12685272d9a93fc32f1f30c3f33460c7bca81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b99b29b4734154d81d1c9bf48bd95bc7c1cbd403fc7158e001aa210769f588fe0f8879e974d87e43efd20806d8ac1a1aacea1a8895381d6354315ecb015eb3e2
|
7
|
+
data.tar.gz: f643c47f7f41727f3417f92430b5b6279178991d924adcfb09054c14f303ee6761dca5b3a02b5a6af1b5985cc102e7fb9b816be93d4222fae964520f159372f3
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
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-
|
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."
|
data/lib/chargebee.rb
CHANGED
@@ -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.
|
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-
|
12
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|