chargebee 1.6.6 → 1.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/model.rb +8 -1
- 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: 6793d9b20f5c5b5acef90a78541b00e4b205e4a9
|
4
|
+
data.tar.gz: f41b1efd2a1fb14e7955ceb38079c337cadc8550
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09b3e3888bf39a9d8f0dfd7127c5abf38f769323c941f1f30ca6458745c92fa37f2e46c8ab89e4fe16401321adf20563b9c098b5c5ef00e3ef1c2dc7e442d4dc
|
7
|
+
data.tar.gz: 0687820273062c63cc0d00193ee9692476d668fbca5e7e5f48fdeeb391ce062ba43db96f9d43368ca4c2b7441956411caa78da4cda5c2fe01c837d1e97ca84a0
|
data/CHANGELOG.md
CHANGED
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.6.
|
8
|
-
s.date = '2015-
|
7
|
+
s.version = '1.6.7'
|
8
|
+
s.date = '2015-12-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
@@ -48,7 +48,14 @@ module ChargeBee
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def self.uri_path(*paths)
|
51
|
-
|
51
|
+
url = ""
|
52
|
+
for path in paths
|
53
|
+
if(path.nil? || path.strip.length < 1)
|
54
|
+
raise "Id is empty or nil"
|
55
|
+
end
|
56
|
+
url = "#{url}/#{URI.encode(path.strip)}"
|
57
|
+
end
|
58
|
+
return url
|
52
59
|
end
|
53
60
|
|
54
61
|
def self.construct(values, sub_types = {})
|
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: 1.6.
|
4
|
+
version: 1.6.7
|
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: 2015-
|
12
|
+
date: 2015-12-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|