chargebee 2.27.0 → 2.27.1

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: a71e6c217fdd4316a5090721f0effe7f5d5322b8
4
- data.tar.gz: 5a29c6d4e6824262bacf5632d910a650ee21e6e0
3
+ metadata.gz: c9e3b484d27a54b2d9f61499b7564d1977a181ce
4
+ data.tar.gz: a593b6873269dad17647d2d0d8a666c3c7218378
5
5
  SHA512:
6
- metadata.gz: 4bf709864327f3e7c0688ea36132a1b2a42add682d2f1ba4dfca6b4ad254403a540bb0886a5c4163d86993b6dbc99f655bc6e9611a3d8f1b326f8564b2493f49
7
- data.tar.gz: 18383b2cb668d33f4fad8d4aee114b34a41fbfe6ec9cd2a5bfd2b95def7525f8e193019668d52a006f002bf48517a3791c1be0fd60074ded6a586c0eab0ceed7
6
+ metadata.gz: b21345c220461ae7aa6c89129d7fcbb84857924e256fbad7f861028d5dfd0f0fb86917c2ad73164d670589c5dc935ea4b5a9e64c13fe7dc76569ec1ecd7111ca
7
+ data.tar.gz: e4149744cf10a05235a587609c2c6ace3dfaf6affabbf3b90136c6f017362dc439715c641c958e1e37a7825ea13ee19234e77faf59cbc2092c3c7eaf58d06666
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chargebee (2.27.0)
4
+ chargebee (2.27.1)
5
5
  cgi (>= 0.1.0, < 1.0.0)
6
6
  json_pure (~> 2.1)
7
7
  rest-client (>= 1.8, <= 2.0.2)
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.0'
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.md LICENSE]
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
@@ -68,7 +68,7 @@ require File.dirname(__FILE__) + '/chargebee/models/token.rb'
68
68
 
69
69
  module ChargeBee
70
70
 
71
- VERSION = '2.27.0'
71
+ VERSION = '2.27.1'
72
72
 
73
73
  @@default_env = nil
74
74
  @@verify_ca_certs = true
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.0
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.md
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