killbill-client 1.9.0 → 1.10.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/payment_method.rb +11 -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: 602d87c259fd50b454aeae3f9ccf58859a2c399f
|
4
|
+
data.tar.gz: 2f2bbf0edca64eb5fbe24ee8f52450160fcb733f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e644ebf18c2142107321826104e34661526b5317a12b2bb34bdbc3ad028af2a7cdd9ba791ac669b960ee79a6e62c297c108a7a0a93cf6fa356649323136090dd
|
7
|
+
data.tar.gz: 41d3f654ba9d7d484e2acc32c6b0bf52d118ee4e7472de8e979b3e8358974431b30ac6143b55aa80411026725f1dd6eb63f55fd481df05c05922d49806badd6b
|
@@ -41,6 +41,17 @@ module KillBillClient
|
|
41
41
|
options
|
42
42
|
end
|
43
43
|
|
44
|
+
def find_by_external_key(external_key, included_deleted = false, with_plugin_info = false, audit='NONE', options = {})
|
45
|
+
get "#{KILLBILL_API_PAYMENT_METHODS_PREFIX}",
|
46
|
+
{
|
47
|
+
:externalKey => external_key,
|
48
|
+
:includedDeleted => included_deleted,
|
49
|
+
:audit => audit,
|
50
|
+
:withPluginInfo => with_plugin_info
|
51
|
+
},
|
52
|
+
options
|
53
|
+
end
|
54
|
+
|
44
55
|
def set_default(payment_method_id, account_id, user = nil, reason = nil, comment = nil, options = {})
|
45
56
|
put "#{Account::KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/paymentMethods/#{payment_method_id}/setDefault",
|
46
57
|
nil,
|
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: 1.
|
4
|
+
version: 1.10.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: 2017-
|
11
|
+
date: 2017-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|