chargebee 2.2.1 → 2.2.2

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: 0989a7a3e1475c906fa992bd3659cf78d4241630
4
- data.tar.gz: 1382b8d4b7d44a75938720fae64207919ad688bf
3
+ metadata.gz: 5cddf3182d1dc0790f72f2ba73c9af715ecdf11c
4
+ data.tar.gz: b4be5ccd4e1ade22d21228096921efc463acfd42
5
5
  SHA512:
6
- metadata.gz: d4e6309b36da048b8379ed5563959be08098db401deace315d01342b304c2e516cb748244a6e05870d5754f615133707ca347a11f8dbd9c90a28ea4216573b30
7
- data.tar.gz: 0e61ee09b466c3dd2f74899ad6f66c071ab6c3920ee442e6c1513ed8e516c964f08e1acbece9137dc58a7dcc274612df297b014cfd108596f5b5b94d571fb6f9
6
+ metadata.gz: eb2aa2d9e9dc4fd75a10a6ffaffe925cce4c6cde85088ccf51827fc30b320b0bfeb7f41feb1c2055f201df450ae6df1f605ff772f2753f4c2d13b9357fb43e8c
7
+ data.tar.gz: d663e072a0fbebf146cb0abd44a32ee517f8d623e91fb2b3f3a6d04e2a45ea61f586ecf0c958c6331839dd45bbe5ee0a70f666a3a7f124c4029e3938ac6df663
@@ -1,3 +1,16 @@
1
+ ###v2.2.2 (2017-01-12)
2
+ * * *
3
+
4
+ ** APIs added**:
5
+ A new endpoint, Unarchive a plan has been added to the Plan resource.
6
+ See: https://apidocs.chargebee.com/docs/api/plans#unarchive_a_plan
7
+
8
+ A new endpoint, Unarchive an addon has been added to the Addon resource.
9
+ See : https://apidocs.chargebee.com/docs/api/addons#unarchive_an_addon
10
+
11
+ A new endpoint, Unarchive a coupon has been added to the Coupon resource.
12
+ See : https://apidocs.chargebee.com/docs/api/coupons#unarchive_a_coupon
13
+
1
14
  ###v2.2.1 (2016-12-30)
2
15
  * * *
3
16
 
@@ -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.2.1'
8
- s.date = '2016-12-30'
7
+ s.version = '2.2.2'
8
+ s.date = '2017-01-12'
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."
@@ -33,7 +33,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
33
33
 
34
34
  module ChargeBee
35
35
 
36
- VERSION = '2.2.1'
36
+ VERSION = '2.2.2'
37
37
 
38
38
  @@default_env = nil
39
39
  @@verify_ca_certs = true
@@ -33,5 +33,9 @@ module ChargeBee
33
33
  Request.send('post', uri_path("addons","copy"), params, env, headers)
34
34
  end
35
35
 
36
+ def self.unarchive(id, env=nil, headers={})
37
+ Request.send('post', uri_path("addons",id.to_s,"unarchive"), {}, env, headers)
38
+ end
39
+
36
40
  end # ~Addon
37
41
  end # ~ChargeBee
@@ -29,5 +29,9 @@ module ChargeBee
29
29
  Request.send('post', uri_path("coupons","copy"), params, env, headers)
30
30
  end
31
31
 
32
+ def self.unarchive(id, env=nil, headers={})
33
+ Request.send('post', uri_path("coupons",id.to_s,"unarchive"), {}, env, headers)
34
+ end
35
+
32
36
  end # ~Coupon
33
37
  end # ~ChargeBee
@@ -34,5 +34,9 @@ module ChargeBee
34
34
  Request.send('post', uri_path("plans","copy"), params, env, headers)
35
35
  end
36
36
 
37
+ def self.unarchive(id, env=nil, headers={})
38
+ Request.send('post', uri_path("plans",id.to_s,"unarchive"), {}, env, headers)
39
+ end
40
+
37
41
  end # ~Plan
38
42
  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: 2.2.1
4
+ version: 2.2.2
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-30 00:00:00.000000000 Z
12
+ date: 2017-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure