chargebee 2.2.1 → 2.2.2
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/addon.rb +4 -0
- data/lib/chargebee/models/coupon.rb +4 -0
- data/lib/chargebee/models/plan.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: 5cddf3182d1dc0790f72f2ba73c9af715ecdf11c
|
4
|
+
data.tar.gz: b4be5ccd4e1ade22d21228096921efc463acfd42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb2aa2d9e9dc4fd75a10a6ffaffe925cce4c6cde85088ccf51827fc30b320b0bfeb7f41feb1c2055f201df450ae6df1f605ff772f2753f4c2d13b9357fb43e8c
|
7
|
+
data.tar.gz: d663e072a0fbebf146cb0abd44a32ee517f8d623e91fb2b3f3a6d04e2a45ea61f586ecf0c958c6331839dd45bbe5ee0a70f666a3a7f124c4029e3938ac6df663
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
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.2.
|
8
|
-
s.date = '
|
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."
|
data/lib/chargebee.rb
CHANGED
@@ -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.
|
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:
|
12
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|