chargebee 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/hosted_page.rb +8 -0
- metadata +2 -2
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 = '1.0
|
8
|
-
s.date = '2012-
|
7
|
+
s.version = '1.1.0'
|
8
|
+
s.date = '2012-10-15'
|
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
@@ -26,6 +26,14 @@ module ChargeBee
|
|
26
26
|
Request.send('post', "/hosted_pages/update_card", params, env)
|
27
27
|
end
|
28
28
|
|
29
|
+
def self.checkout_onetime_charge(params, env=nil)
|
30
|
+
Request.send('post', "/hosted_pages/checkout_onetime_charge", params, env)
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.checkout_onetime_addons(params, env=nil)
|
34
|
+
Request.send('post', "/hosted_pages/checkout_onetime_addons", params, env)
|
35
|
+
end
|
36
|
+
|
29
37
|
def self.retrieve(id, env=nil)
|
30
38
|
Request.send('get', "/hosted_pages/#{id.to_s}", {}, env)
|
31
39
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: chargebee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0
|
5
|
+
version: 1.1.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Rajaraman S
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2012-
|
14
|
+
date: 2012-10-15 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json_pure
|