killbill-client 0.2.0 → 0.2.1
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/account.rb +2 -2
- data/lib/killbill_client/models/invoice_item.rb +1 -1
- data/lib/killbill_client/models/payment_method.rb +2 -2
- data/lib/killbill_client/models/resource.rb +2 -2
- data/lib/killbill_client/models/tag_definition.rb +1 -1
- data/lib/killbill_client/models/tenant.rb +1 -1
- 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: b863822c7c443a03870f65858c20649c300ccc11
|
4
|
+
data.tar.gz: 5d714717550faf0eee79c7ac25f94146c0cd577c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a97badf10e6f748e9bc4b51c91a465bdb3932c2b01f19053e170459f74e31594f59e71fbf8eb0054f41b9fc9c891e9cded2d50ee99db3ee1f3061d43528425c6
|
7
|
+
data.tar.gz: de6973179726e218d5b1b804339d6ec7ce9018d977913c4500f6849be8de19f27b7e8e2bdccde9b49ea053b7d1e329009b64f86e88d664ad68be0804a74a1da9
|
@@ -23,7 +23,7 @@ module KillBillClient
|
|
23
23
|
:reason => reason,
|
24
24
|
:comment => comment,
|
25
25
|
}.merge(options)
|
26
|
-
created_account.refresh
|
26
|
+
created_account.refresh(options)
|
27
27
|
end
|
28
28
|
|
29
29
|
def payments(options = {})
|
@@ -62,7 +62,7 @@ module KillBillClient
|
|
62
62
|
:comment => comment,
|
63
63
|
}.merge(options),
|
64
64
|
Tag
|
65
|
-
created_tag.refresh
|
65
|
+
created_tag.refresh(options)
|
66
66
|
end
|
67
67
|
|
68
68
|
def remove_tag(tag_name, user = nil, reason = nil, comment = nil, options = {})
|
@@ -20,7 +20,7 @@ module KillBillClient
|
|
20
20
|
options
|
21
21
|
end
|
22
22
|
|
23
|
-
def find_all_by_search_key(search_key, with_plugin_info = false, options)
|
23
|
+
def find_all_by_search_key(search_key, with_plugin_info = false, options = {})
|
24
24
|
get "#{KILLBILL_API_PAYMENT_METHODS_PREFIX}/search/#{search_key}",
|
25
25
|
{
|
26
26
|
:withPluginInfo => with_plugin_info
|
@@ -63,7 +63,7 @@ module KillBillClient
|
|
63
63
|
:reason => reason,
|
64
64
|
:comment => comment,
|
65
65
|
}.merge(options)
|
66
|
-
created_pm.refresh
|
66
|
+
created_pm.refresh(options)
|
67
67
|
end
|
68
68
|
|
69
69
|
def destroy(set_auto_pay_off = false, user = nil, reason = nil, comment = nil, options = {})
|
@@ -187,9 +187,9 @@ module KillBillClient
|
|
187
187
|
to_hash.to_json
|
188
188
|
end
|
189
189
|
|
190
|
-
def refresh(clazz=self.class)
|
190
|
+
def refresh(options = {}, clazz=self.class)
|
191
191
|
if @uri
|
192
|
-
self.class.get @uri, {},
|
192
|
+
self.class.get @uri, {}, options, clazz
|
193
193
|
else
|
194
194
|
self
|
195
195
|
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: 0.2.
|
4
|
+
version: 0.2.1
|
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: 2013-08-
|
11
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|