killbill-client 0.11.1 → 0.12.0
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 +7 -2
- data/lib/killbill_client/version.rb +2 -2
- 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: 55ca36c7265062f5c8428c3788d45cea02cdcce7
|
4
|
+
data.tar.gz: fa13cd2a29c8f85afb8298478b5bedb166c00ef1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
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.
|
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-
|
11
|
+
date: 2015-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|