killbill-client 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/killbill_client/models/subscription.rb +15 -0
- data/lib/killbill_client/version.rb +1 -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: d4ba3d6fe46c4834ecf4a07d9478c84a7a1f2da3
|
4
|
+
data.tar.gz: e6c95190aea365b25dc1c635495320963fbda811
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeecba9a272ac0d0b3983aaaaaa8f746448f6dc4c8631a407856e4adde4473304d2480947f53e3f8060f75302bffdce39931bd6a39086b8978ef4aa7bee828b5
|
7
|
+
data.tar.gz: b411ce93126ccd566eec52ceffe9a91ba1ddfe29602bb8934fa09574e96489ce8c235516bbbf6f0358fd18e72da1da2b4d9b9c4bef80cc3599ed2a2e0a2123bd
|
@@ -179,6 +179,21 @@ module KillBillClient
|
|
179
179
|
:comment => comment,
|
180
180
|
}.merge(options)
|
181
181
|
end
|
182
|
+
|
183
|
+
#
|
184
|
+
# Undo a pending change plan on an entitlement
|
185
|
+
#
|
186
|
+
def undo_change_plan(user = nil, reason = nil, comment = nil, options = {})
|
187
|
+
|
188
|
+
self.class.put "#{KILLBILL_API_ENTITLEMENT_PREFIX}/#{subscription_id}/undoChangePlan",
|
189
|
+
{},
|
190
|
+
{},
|
191
|
+
{
|
192
|
+
:user => user,
|
193
|
+
:reason => reason,
|
194
|
+
:comment => comment,
|
195
|
+
}.merge(options)
|
196
|
+
end
|
182
197
|
end
|
183
198
|
end
|
184
199
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Killbill core team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|