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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cf60e7dcf7ac9c9113454bc674e89ee3334388e
4
- data.tar.gz: 0e3918e3d996e075cc4d715b440195209fe042eb
3
+ metadata.gz: a56e6c4ec27cc4c77a899a1197e8512554f01d2e
4
+ data.tar.gz: 343f0f7943fe75074c23cb5346eff0312006e722
5
5
  SHA512:
6
- metadata.gz: 19771914635bab6d30ee61485a19230f2773b4d36fd4bf9d96642cd604b06d2b8e98981d64e94873fc44fee7e2bfc14d246235d54e403bdeff5ef74520259876
7
- data.tar.gz: 31d8115314524ab444dafd443fef2d76732c0a12674b82580215ea8bd503f89acaf0707fe6e1d03fe3a20f6ab7de6816b07c79ae6a56dac91224fb79b88bd97d
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.0'
8
- s.date = '2016-07-18'
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
@@ -33,7 +33,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
33
33
 
34
34
  module ChargeBee
35
35
 
36
- VERSION = '2.1.0'
36
+ VERSION = '2.1.1'
37
37
 
38
38
  @@default_env = nil
39
39
  @@verify_ca_certs = true
@@ -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.0
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-07-18 00:00:00.000000000 Z
12
+ date: 2016-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure