chargebee 2.27.0 → 2.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.rdoc +41 -0
- data/chargebee.gemspec +3 -2
- data/lib/chargebee.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9e3b484d27a54b2d9f61499b7564d1977a181ce
|
4
|
+
data.tar.gz: a593b6873269dad17647d2d0d8a666c3c7218378
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b21345c220461ae7aa6c89129d7fcbb84857924e256fbad7f861028d5dfd0f0fb86917c2ad73164d670589c5dc935ea4b5a9e64c13fe7dc76569ec1ecd7111ca
|
7
|
+
data.tar.gz: e4149744cf10a05235a587609c2c6ace3dfaf6affabbf3b90136c6f017362dc439715c641c958e1e37a7825ea13ee19234e77faf59cbc2092c3c7eaf58d06666
|
data/Gemfile.lock
CHANGED
data/README.rdoc
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
= Chargebee Ruby Client Library - API V2
|
2
|
+
|
3
|
+
{<img src="https://img.shields.io/gem/v/chargebee.svg?maxAge=2592000"/>}[https://rubygems.org/gems/chargebee]
|
4
|
+
{<img src="https://img.shields.io/gem/dtv/chargebee.svg?maxAge=2592000"/>}[https://rubygems.org/gems/chargebee]
|
5
|
+
|
6
|
+
This is the Ruby Library for integrating with Chargebee. Sign up for a Chargebee account {here}[https://www.chargebee.com].
|
7
|
+
|
8
|
+
Chargebee now supports two API versions - {V1}[https://apidocs.chargebee.com/docs/api/v1] and {V2}[https://apidocs.chargebee.com/docs/api], of which V2 is the latest release and all future developments will happen in V2. This library is for <b>API version V2</b>. If you’re looking for V1, head to {chargebee-v1 branch}[https://github.com/chargebee/chargebee-ruby/tree/chargebee-v1].
|
9
|
+
|
10
|
+
== Installation
|
11
|
+
|
12
|
+
Install the latest version of the gem with the following command...
|
13
|
+
|
14
|
+
$ sudo gem install chargebee -v '~>2'
|
15
|
+
|
16
|
+
|
17
|
+
== Requirements
|
18
|
+
|
19
|
+
* Ruby 1.9.3 or above.
|
20
|
+
* rest-client
|
21
|
+
|
22
|
+
== Documentation
|
23
|
+
|
24
|
+
For API reference see {here}[https://apidocs.chargebee.com/docs/api?lang=ruby]
|
25
|
+
|
26
|
+
== Usage
|
27
|
+
|
28
|
+
To create a new subscription:
|
29
|
+
|
30
|
+
ChargeBee.configure({:api_key => "your_api_key" , :site => "your_site"})
|
31
|
+
result = ChargeBee::Subscription.create({
|
32
|
+
:id => "sub_KyVqDh__dev__NTn4VZZ1",
|
33
|
+
:plan_id => "basic",
|
34
|
+
})
|
35
|
+
subscription = result.subscription
|
36
|
+
puts "created subscription is #{subscription}"
|
37
|
+
|
38
|
+
== License
|
39
|
+
|
40
|
+
See the LICENSE file.
|
41
|
+
|
data/chargebee.gemspec
CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
s.required_ruby_version = '>= 1.9.3'
|
6
6
|
s.name = 'chargebee'
|
7
|
-
s.version = '2.27.
|
7
|
+
s.version = '2.27.1'
|
8
8
|
s.date = '2023-05-31'
|
9
9
|
s.summary = "Ruby client for Chargebee API."
|
10
10
|
s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.require_paths = %w[lib]
|
18
18
|
|
19
19
|
s.rdoc_options = ["--charset=UTF-8"]
|
20
|
-
s.extra_rdoc_files = %w[README.
|
20
|
+
s.extra_rdoc_files = %w[README.rdoc LICENSE]
|
21
21
|
|
22
22
|
s.add_dependency('json_pure', '~> 2.1')
|
23
23
|
s.add_dependency('rest-client', '>=1.8', '<=2.0.2')
|
@@ -32,6 +32,7 @@ Gem::Specification.new do |s|
|
|
32
32
|
Gemfile.lock
|
33
33
|
LICENSE
|
34
34
|
README.md
|
35
|
+
README.rdoc
|
35
36
|
Rakefile
|
36
37
|
chargebee.gemspec
|
37
38
|
lib/chargebee.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.27.
|
4
|
+
version: 2.27.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajaraman S
|
@@ -100,7 +100,7 @@ email:
|
|
100
100
|
executables: []
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files:
|
103
|
-
- README.
|
103
|
+
- README.rdoc
|
104
104
|
- LICENSE
|
105
105
|
files:
|
106
106
|
- CHANGELOG.md
|
@@ -108,6 +108,7 @@ files:
|
|
108
108
|
- Gemfile.lock
|
109
109
|
- LICENSE
|
110
110
|
- README.md
|
111
|
+
- README.rdoc
|
111
112
|
- Rakefile
|
112
113
|
- chargebee.gemspec
|
113
114
|
- lib/chargebee.rb
|