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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44af1bd991b778b064fef43d2267e75b834ffe01
4
- data.tar.gz: e51ee0a3a893b671cf8132e989d984779f32397a
3
+ metadata.gz: d4ba3d6fe46c4834ecf4a07d9478c84a7a1f2da3
4
+ data.tar.gz: e6c95190aea365b25dc1c635495320963fbda811
5
5
  SHA512:
6
- metadata.gz: e1b6517848128aeebefbb610fcdb5918e4fef7de7ef6138f45a5b4323464b82a456dc7d053e3990f143aa96ea3e85b0f47b649e774785fb3bd07d85e1359ed12
7
- data.tar.gz: b2f7d36bf61d137218de09f8aae734ff13ada57cf9e73e171295e892d1b64d1ecdc7acba8f8476e7d664f7ce30eb3eb778fbad3638bc617db960b5d8507723f1
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
@@ -2,7 +2,7 @@ module KillBillClient
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 2
5
- PATCH = 1
5
+ PATCH = 2
6
6
  PRE = nil
7
7
 
8
8
  VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join('.').freeze
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.1
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-03-26 00:00:00.000000000 Z
11
+ date: 2018-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake