killbill-client 0.11.1 → 0.12.0

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: b92f0d9cc2283108856cd2222996a339e0b88e22
4
- data.tar.gz: 78a52d32a195e311dcfa3203d7d5a01cad55e47b
3
+ metadata.gz: 55ca36c7265062f5c8428c3788d45cea02cdcce7
4
+ data.tar.gz: fa13cd2a29c8f85afb8298478b5bedb166c00ef1
5
5
  SHA512:
6
- metadata.gz: dbe439b504bf311cde4bea182d3185362b9e7045de4c1d083b48d0245a75c51b50c1fe564b41eaf97c856c34ba516c10a5c78e78ac29522835a48ac47678955a
7
- data.tar.gz: 4cdd6897dd3b895cb201b42f47a427017779e1e18ed4b5759d84f4da39bebc7bb630481020d3f3e36903e5361d07c72439c2776e28f124a5921e223732e6a6a9
6
+ metadata.gz: b6adda9cd6961b823537363b105063338d721686e6cefb36d5857753ee3c551a2a817a94c075378148b028062e81fc712ad6dd752b22f729a282fe7e4f9cc52c
7
+ data.tar.gz: b8fcfa97f9ac0fe6495e25cd31b2b4784f7e2bf0a7d1188dca4d15734074a6d7ff6a4f5405e91577c630597698fb5e71ff197fba3f37fade03a1ae9673b0cdfe
@@ -19,10 +19,15 @@ module KillBillClient
19
19
  #
20
20
  # Create a new entitlement
21
21
  #
22
- def create(user = nil, reason = nil, comment = nil, options = {})
22
+ def create(user = nil, reason = nil, comment = nil, requested_date = nil, call_completion = false, options = {})
23
+
24
+ params = {}
25
+ params[:callCompletion] = call_completion
26
+ params[:requestedDate] = requested_date unless requested_date.nil?
27
+
23
28
  created_entitlement = self.class.post KILLBILL_API_ENTITLEMENT_PREFIX,
24
29
  to_json,
25
- {},
30
+ params,
26
31
  {
27
32
  :user => user,
28
33
  :reason => reason,
@@ -1,8 +1,8 @@
1
1
  module KillBillClient
2
2
  module Version
3
3
  MAJOR = 0
4
- MINOR = 11
5
- PATCH = 1
4
+ MINOR = 12
5
+ PATCH = 0
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: 0.11.1
4
+ version: 0.12.0
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: 2015-04-09 00:00:00.000000000 Z
11
+ date: 2015-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json