chargebee 2.1.0 → 2.1.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 +13 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/credit_note.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: a56e6c4ec27cc4c77a899a1197e8512554f01d2e
|
4
|
+
data.tar.gz: 343f0f7943fe75074c23cb5346eff0312006e722
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bdc35853c9ef4fcad8483e0c58c8410b9e87902645f9c6ca3c671121ce27360b5f981913906fa4eb0e75434f401c2bc229d078bbd6684d0f41f86420d20f71d
|
7
|
+
data.tar.gz: 8e0a220334f42342457993d287da64e56ffd54b193f769751397f521626b003c6bb27678005c49cc285555697a38a2152830213051ca68a93c9f15975e1c0d60
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
###v2.1.1 (2016-08-02)
|
2
|
+
* * *
|
3
|
+
** APIs added**:
|
4
|
+
A new endpoint to retrieve Credit Note as PDF. See : https://apidocs.chargebee.com/docs/api/credit_notes#retrieve_credit_note_as_pdf
|
5
|
+
|
6
|
+
** APIs updated**:
|
7
|
+
The attribute "invoice notes" is added to subscription in Hosted Pages Checkout New and Checkout Existing API's.
|
8
|
+
See : https://apidocs.chargebee.com/docs/api/hosted_pages#checkout_new_subscription
|
9
|
+
|
10
|
+
The filter parameter "paid_at" is added to list invoices and "paid_on_after" is deprecated. See : https://apidocs.chargebee.com/docs/api/invoices#list_invoices
|
11
|
+
|
12
|
+
The filter parameter "occurred_at", "webhook_status", "event_type" is added to list events and parameter "start_time", "end_time", "webhook_status", "event_type" is deprecated. See : https://apidocs.chargebee.com/docs/api/events#list_events
|
13
|
+
|
1
14
|
###v2.1.0 (2016-07-18)
|
2
15
|
* * *
|
3
16
|
** APIs added**:
|
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 = '2.1.
|
8
|
-
s.date = '2016-
|
7
|
+
s.version = '2.1.1'
|
8
|
+
s.date = '2016-08-02'
|
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
@@ -37,6 +37,10 @@ module ChargeBee
|
|
37
37
|
Request.send('get', uri_path("credit_notes",id.to_s), {}, env, headers)
|
38
38
|
end
|
39
39
|
|
40
|
+
def self.pdf(id, env=nil, headers={})
|
41
|
+
Request.send('post', uri_path("credit_notes",id.to_s,"pdf"), {}, env, headers)
|
42
|
+
end
|
43
|
+
|
40
44
|
def self.list(params={}, env=nil, headers={})
|
41
45
|
Request.send_list_request('get', uri_path("credit_notes"), params, env, headers)
|
42
46
|
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.1.
|
4
|
+
version: 2.1.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: 2016-
|
12
|
+
date: 2016-08-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|