chargebee 2.0.3 → 2.0.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 +5 -0
- data/chargebee.gemspec +1 -2
- data/lib/chargebee.rb +1 -1
- metadata +1 -2
- data/lib/chargebee/models/plan.rb~ +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baf3fc69a7c89092a7e6e1e16bd9fc8d0d949018
|
4
|
+
data.tar.gz: fde30196c54ac444b8ab7e66478d040b8dd856b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7d30b6fcc9dbbe41f6be902d0f341515ce5ff4c0fedd648a6667ff061161e77d911ea8590d6ab757a685fba7ca6da70def3441633fa70940473b3cce3329b96
|
7
|
+
data.tar.gz: 5708dea180b4791675ab058f976722f85b7cfbc88098b781c6fbd11946d6ce5b412739c8e5f7309cd9678816e2b2db8099a6fd5afd7066efbed9e3f30a89640d
|
data/CHANGELOG.md
CHANGED
data/chargebee.gemspec
CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
|
6
6
|
s.name = 'chargebee'
|
7
|
-
s.version = '2.0.
|
7
|
+
s.version = '2.0.4'
|
8
8
|
s.date = '2016-05-20'
|
9
9
|
|
10
10
|
s.summary = "Ruby client for Chargebee API."
|
@@ -55,7 +55,6 @@ Gem::Specification.new do |s|
|
|
55
55
|
lib/chargebee/models/model.rb
|
56
56
|
lib/chargebee/models/order.rb
|
57
57
|
lib/chargebee/models/plan.rb
|
58
|
-
lib/chargebee/models/plan.rb~
|
59
58
|
lib/chargebee/models/portal_session.rb
|
60
59
|
lib/chargebee/models/subscription.rb
|
61
60
|
lib/chargebee/models/subscription_estimate.rb
|
data/lib/chargebee.rb
CHANGED
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.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajaraman S
|
@@ -104,7 +104,6 @@ files:
|
|
104
104
|
- lib/chargebee/models/model.rb
|
105
105
|
- lib/chargebee/models/order.rb
|
106
106
|
- lib/chargebee/models/plan.rb
|
107
|
-
- lib/chargebee/models/plan.rb~
|
108
107
|
- lib/chargebee/models/portal_session.rb
|
109
108
|
- lib/chargebee/models/subscription.rb
|
110
109
|
- lib/chargebee/models/subscription_estimate.rb
|
@@ -1,33 +0,0 @@
|
|
1
|
-
module ChargeBee
|
2
|
-
class Plan < Model
|
3
|
-
|
4
|
-
attr_accessor :id, :name, :invoice_name, :description, :price, :period, :period_unit, :trial_period,
|
5
|
-
:trial_period_unit, :charge_model, :free_quantity, :setup_cost, :downgrade_penalty, :status,
|
6
|
-
:archived_at, :billing_cycles, :redirect_url, :enabled_in_hosted_pages, :enabled_in_portal,
|
7
|
-
:tax_code, :invoice_notes, :taxable, :meta_data
|
8
|
-
|
9
|
-
# OPERATIONS
|
10
|
-
#-----------
|
11
|
-
|
12
|
-
def self.create(params, env=nil, headers={})
|
13
|
-
Request.send('post', uri_path("plans"), params, env, headers)
|
14
|
-
end
|
15
|
-
|
16
|
-
def self.update(id, params={}, env=nil, headers={})
|
17
|
-
Request.send('post', uri_path("plans",id.to_s), params, env, headers)
|
18
|
-
end
|
19
|
-
|
20
|
-
def self.list(params={}, env=nil, headers={})
|
21
|
-
Request.send_list('get', uri_path("plans"), params, env, headers)
|
22
|
-
end
|
23
|
-
|
24
|
-
def self.retrieve(id, env=nil, headers={})
|
25
|
-
Request.send('get', uri_path("plans",id.to_s), {}, env, headers)
|
26
|
-
end
|
27
|
-
|
28
|
-
def self.delete(id, env=nil, headers={})
|
29
|
-
Request.send('post', uri_path("plans",id.to_s,"delete"), {}, env, headers)
|
30
|
-
end
|
31
|
-
|
32
|
-
end # ~Plan
|
33
|
-
end # ~ChargeBee
|