chargebee 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/lib/chargebee/models/subscription.rb +2 -2
- data/lib/chargebee/rest.rb +1 -1
- data/lib/chargebee/util.rb +1 -1
- data/lib/chargebee/version.rb +1 -1
- metadata +2 -29
data/README.rdoc
CHANGED
@@ -32,8 +32,8 @@ module ChargeBee
|
|
32
32
|
Request.send('post', "/subscriptions/#{id.to_s}/cancel", params, env)
|
33
33
|
end
|
34
34
|
|
35
|
-
def self.reactivate(id, env=nil)
|
36
|
-
Request.send('post', "/subscriptions/#{id.to_s}/reactivate",
|
35
|
+
def self.reactivate(id, params={}, env=nil)
|
36
|
+
Request.send('post', "/subscriptions/#{id.to_s}/reactivate", params, env)
|
37
37
|
end
|
38
38
|
|
39
39
|
end # ~Subscription
|
data/lib/chargebee/rest.rb
CHANGED
data/lib/chargebee/util.rb
CHANGED
@@ -9,7 +9,7 @@ module ChargeBee
|
|
9
9
|
if(v.instance_of? Hash or v.instance_of? Array)
|
10
10
|
serialized.merge!(serialize(v, k))
|
11
11
|
else
|
12
|
-
key = "#{(prefix!=nil) ? prefix:''}#{(
|
12
|
+
key = "#{(prefix!=nil) ? prefix:''}#{(prefix!=nil) ? '['+k.to_s+']' : k}#{(idx != nil) ? '['+idx.to_s+']':''}"
|
13
13
|
serialized.merge!({key => (v!=nil)?v:''})
|
14
14
|
end
|
15
15
|
end
|
data/lib/chargebee/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chargebee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 23
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
version: 1.0.0
|
5
|
+
version: 1.0.2
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Rajaraman S
|
@@ -16,7 +11,7 @@ autorequire:
|
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
13
|
|
19
|
-
date: 2012-
|
14
|
+
date: 2012-05-16 00:00:00 Z
|
20
15
|
dependencies:
|
21
16
|
- !ruby/object:Gem::Dependency
|
22
17
|
name: json_pure
|
@@ -26,10 +21,6 @@ dependencies:
|
|
26
21
|
requirements:
|
27
22
|
- - ~>
|
28
23
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 5
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 5
|
33
24
|
version: "1.5"
|
34
25
|
type: :runtime
|
35
26
|
version_requirements: *id001
|
@@ -41,10 +32,6 @@ dependencies:
|
|
41
32
|
requirements:
|
42
33
|
- - ~>
|
43
34
|
- !ruby/object:Gem::Version
|
44
|
-
hash: 7
|
45
|
-
segments:
|
46
|
-
- 1
|
47
|
-
- 4
|
48
35
|
version: "1.4"
|
49
36
|
type: :runtime
|
50
37
|
version_requirements: *id002
|
@@ -56,11 +43,6 @@ dependencies:
|
|
56
43
|
requirements:
|
57
44
|
- - ~>
|
58
45
|
- !ruby/object:Gem::Version
|
59
|
-
hash: 43
|
60
|
-
segments:
|
61
|
-
- 2
|
62
|
-
- 9
|
63
|
-
- 0
|
64
46
|
version: 2.9.0
|
65
47
|
type: :development
|
66
48
|
version_requirements: *id003
|
@@ -72,9 +54,6 @@ dependencies:
|
|
72
54
|
requirements:
|
73
55
|
- - ">="
|
74
56
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 3
|
76
|
-
segments:
|
77
|
-
- 0
|
78
57
|
version: "0"
|
79
58
|
type: :development
|
80
59
|
version_requirements: *id004
|
@@ -122,18 +101,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
101
|
requirements:
|
123
102
|
- - ">="
|
124
103
|
- !ruby/object:Gem::Version
|
125
|
-
hash: 3
|
126
|
-
segments:
|
127
|
-
- 0
|
128
104
|
version: "0"
|
129
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
106
|
none: false
|
131
107
|
requirements:
|
132
108
|
- - ">="
|
133
109
|
- !ruby/object:Gem::Version
|
134
|
-
hash: 3
|
135
|
-
segments:
|
136
|
-
- 0
|
137
110
|
version: "0"
|
138
111
|
requirements: []
|
139
112
|
|