killbill-client 0.15.0 → 0.16.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 +4 -4
- data/lib/killbill_client/models/combo_hosted_payment_page.rb +20 -0
- data/lib/killbill_client/models/combo_transaction.rb +40 -0
- data/lib/killbill_client/models/gen/admin_payment_attributes.rb +36 -0
- data/lib/killbill_client/models/gen/combo_hosted_payment_page_attributes.rb +38 -0
- data/lib/killbill_client/models/gen/combo_payment_transaction_attributes.rb +39 -0
- data/lib/killbill_client/models/gen/payment_method_plugin_detail_attributes.rb +1 -1
- data/lib/killbill_client/models/gen/require_gen.rb +3 -0
- data/lib/killbill_client/models/hosted_payment_page.rb +24 -0
- data/lib/killbill_client/models/models.rb +3 -0
- data/lib/killbill_client/models/payment.rb +8 -0
- data/lib/killbill_client/models/transaction.rb +79 -42
- data/lib/killbill_client/utils.rb +13 -6
- data/lib/killbill_client/version.rb +1 -1
- metadata +38 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64817bf59bb680ebdd7cd660cd31020995188c4e
|
4
|
+
data.tar.gz: 4d05400957da60266c10e8aff09ed69f220f1ea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ff38fe77f14a2f0a0a67db44df7de29296e635336ef577425d9a013b632f31de767d09488ac8fc4a0be55748276ba0b7e946f34907984ff201215530a38de1d
|
7
|
+
data.tar.gz: b87af730d59a1b05addb61815238dfc792e1fadbaf2b02f59d7ebd1beeeaf59b8bcfe1d0d18e9ab92eb2b3e52f216f9a7d49f54bd9e049b049b7ecfa7bb2e86a
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module KillBillClient
|
2
|
+
module Model
|
3
|
+
class ComboHostedPaymentPage < ComboHostedPaymentPageAttributes
|
4
|
+
|
5
|
+
def build_form_descriptor(user = nil, reason = nil, comment = nil, options = {})
|
6
|
+
query_map = {}
|
7
|
+
|
8
|
+
self.class.post "#{HostedPaymentPage::KILLBILL_API_HPP_PREFIX}/hosted/form",
|
9
|
+
to_json,
|
10
|
+
query_map,
|
11
|
+
{
|
12
|
+
:user => user,
|
13
|
+
:reason => reason,
|
14
|
+
:comment => comment,
|
15
|
+
}.merge(options),
|
16
|
+
HostedPaymentPageFormDescriptorAttributes
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module KillBillClient
|
2
|
+
module Model
|
3
|
+
class ComboTransaction < ComboPaymentTransactionAttributes
|
4
|
+
|
5
|
+
def auth(user = nil, reason = nil, comment = nil, options = {})
|
6
|
+
@transaction.transaction_type = 'AUTHORIZE'
|
7
|
+
|
8
|
+
combo_payment(user, reason, comment, options)
|
9
|
+
end
|
10
|
+
|
11
|
+
def purchase(user = nil, reason = nil, comment = nil, options = {})
|
12
|
+
@transaction.transaction_type = 'PURCHASE'
|
13
|
+
|
14
|
+
combo_payment(user, reason, comment, options)
|
15
|
+
end
|
16
|
+
|
17
|
+
def credit(user = nil, reason = nil, comment = nil, options = {})
|
18
|
+
@transaction.transaction_type = 'CREDIT'
|
19
|
+
|
20
|
+
combo_payment(user, reason, comment, options)
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def combo_payment(user, reason, comment, options)
|
26
|
+
query_map = {}
|
27
|
+
|
28
|
+
created_transaction = self.class.post "#{Payment::KILLBILL_API_PAYMENTS_PREFIX}/combo",
|
29
|
+
to_json,
|
30
|
+
query_map,
|
31
|
+
{
|
32
|
+
:user => user,
|
33
|
+
:reason => reason,
|
34
|
+
:comment => comment,
|
35
|
+
}.merge(options)
|
36
|
+
created_transaction.refresh(options, Payment)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#############################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 Groupon, Inc. #
|
5
|
+
# Copyright 2014 The Billing Project, LLC #
|
6
|
+
# #
|
7
|
+
# The Billing Project licenses this file to you under the Apache License, version 2.0 #
|
8
|
+
# (the "License"); you may not use this file except in compliance with the #
|
9
|
+
# License. You may obtain a copy of the License at: #
|
10
|
+
# #
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
12
|
+
# #
|
13
|
+
# Unless required by applicable law or agreed to in writing, software #
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
15
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
16
|
+
# License for the specific language governing permissions and limitations #
|
17
|
+
# under the License. #
|
18
|
+
# #
|
19
|
+
#############################################################################################
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# DO NOT EDIT!!!
|
24
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
25
|
+
#
|
26
|
+
|
27
|
+
|
28
|
+
module KillBillClient
|
29
|
+
module Model
|
30
|
+
class AdminPaymentAttributes < Resource
|
31
|
+
attribute :last_success_payment_state
|
32
|
+
attribute :current_payment_state_name
|
33
|
+
attribute :transaction_status
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#############################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 Groupon, Inc. #
|
5
|
+
# Copyright 2014 The Billing Project, LLC #
|
6
|
+
# #
|
7
|
+
# The Billing Project licenses this file to you under the Apache License, version 2.0 #
|
8
|
+
# (the "License"); you may not use this file except in compliance with the #
|
9
|
+
# License. You may obtain a copy of the License at: #
|
10
|
+
# #
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
12
|
+
# #
|
13
|
+
# Unless required by applicable law or agreed to in writing, software #
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
15
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
16
|
+
# License for the specific language governing permissions and limitations #
|
17
|
+
# under the License. #
|
18
|
+
# #
|
19
|
+
#############################################################################################
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# DO NOT EDIT!!!
|
24
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
25
|
+
#
|
26
|
+
|
27
|
+
|
28
|
+
module KillBillClient
|
29
|
+
module Model
|
30
|
+
class ComboHostedPaymentPageAttributes < Resource
|
31
|
+
attribute :account
|
32
|
+
attribute :payment_method
|
33
|
+
attribute :hosted_payment_page_fields
|
34
|
+
attribute :payment_method_plugin_properties
|
35
|
+
attribute :audit_logs
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
#############################################################################################
|
2
|
+
# #
|
3
|
+
# Copyright 2010-2013 Ning, Inc. #
|
4
|
+
# Copyright 2014 Groupon, Inc. #
|
5
|
+
# Copyright 2014 The Billing Project, LLC #
|
6
|
+
# #
|
7
|
+
# The Billing Project licenses this file to you under the Apache License, version 2.0 #
|
8
|
+
# (the "License"); you may not use this file except in compliance with the #
|
9
|
+
# License. You may obtain a copy of the License at: #
|
10
|
+
# #
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0 #
|
12
|
+
# #
|
13
|
+
# Unless required by applicable law or agreed to in writing, software #
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
15
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
16
|
+
# License for the specific language governing permissions and limitations #
|
17
|
+
# under the License. #
|
18
|
+
# #
|
19
|
+
#############################################################################################
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# DO NOT EDIT!!!
|
24
|
+
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
25
|
+
#
|
26
|
+
|
27
|
+
|
28
|
+
module KillBillClient
|
29
|
+
module Model
|
30
|
+
class ComboPaymentTransactionAttributes < Resource
|
31
|
+
attribute :account
|
32
|
+
attribute :payment_method
|
33
|
+
attribute :payment_method_plugin_properties
|
34
|
+
attribute :transaction
|
35
|
+
attribute :transaction_plugin_properties
|
36
|
+
attribute :audit_logs
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -28,6 +28,7 @@
|
|
28
28
|
require 'killbill_client/models/gen/account_email_attributes'
|
29
29
|
require 'killbill_client/models/gen/account_attributes'
|
30
30
|
require 'killbill_client/models/gen/account_timeline_attributes'
|
31
|
+
require 'killbill_client/models/gen/admin_payment_attributes'
|
31
32
|
require 'killbill_client/models/gen/audit_log_attributes'
|
32
33
|
require 'killbill_client/models/gen/stack_trace_element_attributes'
|
33
34
|
require 'killbill_client/models/gen/billing_exception_attributes'
|
@@ -38,6 +39,8 @@ require 'killbill_client/models/gen/plan_attributes'
|
|
38
39
|
require 'killbill_client/models/gen/phase_attributes'
|
39
40
|
require 'killbill_client/models/gen/price_attributes'
|
40
41
|
require 'killbill_client/models/gen/catalog_attributes_simple'
|
42
|
+
require 'killbill_client/models/gen/combo_hosted_payment_page_attributes'
|
43
|
+
require 'killbill_client/models/gen/combo_payment_transaction_attributes'
|
41
44
|
require 'killbill_client/models/gen/credit_attributes'
|
42
45
|
require 'killbill_client/models/gen/custom_field_attributes'
|
43
46
|
require 'killbill_client/models/gen/gateway_notification_attributes'
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module KillBillClient
|
2
|
+
module Model
|
3
|
+
class HostedPaymentPage < HostedPaymentPageFieldsAttributes
|
4
|
+
|
5
|
+
KILLBILL_API_HPP_PREFIX = "#{KILLBILL_API_PREFIX}/paymentGateways"
|
6
|
+
|
7
|
+
def build_form_descriptor(kb_account_id, payment_method_id = nil, user = nil, reason = nil, comment = nil, options = {})
|
8
|
+
query_map = {}
|
9
|
+
|
10
|
+
query_map[:paymentMethodId] = payment_method_id unless payment_method_id.nil?
|
11
|
+
|
12
|
+
self.class.post "#{KILLBILL_API_HPP_PREFIX}/hosted/form/#{kb_account_id}",
|
13
|
+
to_json,
|
14
|
+
query_map,
|
15
|
+
{
|
16
|
+
:user => user,
|
17
|
+
:reason => reason,
|
18
|
+
:comment => comment,
|
19
|
+
}.merge(options),
|
20
|
+
HostedPaymentPageFormDescriptorAttributes
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -22,9 +22,12 @@ require 'killbill_client/models/account'
|
|
22
22
|
require 'killbill_client/models/invoice'
|
23
23
|
require 'killbill_client/models/overdue'
|
24
24
|
require 'killbill_client/models/transaction'
|
25
|
+
require 'killbill_client/models/combo_transaction'
|
25
26
|
require 'killbill_client/models/invoice_payment'
|
26
27
|
require 'killbill_client/models/payment'
|
27
28
|
require 'killbill_client/models/payment_method'
|
29
|
+
require 'killbill_client/models/hosted_payment_page'
|
30
|
+
require 'killbill_client/models/combo_hosted_payment_page'
|
28
31
|
require 'killbill_client/models/security'
|
29
32
|
require 'killbill_client/models/tag'
|
30
33
|
require 'killbill_client/models/tag_definition'
|
@@ -18,6 +18,14 @@ module KillBillClient
|
|
18
18
|
options
|
19
19
|
end
|
20
20
|
|
21
|
+
def find_by_external_key(external_key, options = {})
|
22
|
+
get "#{KILLBILL_API_PAYMENTS_PREFIX}",
|
23
|
+
{
|
24
|
+
:externalKey => external_key
|
25
|
+
},
|
26
|
+
options
|
27
|
+
end
|
28
|
+
|
21
29
|
def find_in_batches(offset = 0, limit = 100, options = {})
|
22
30
|
get "#{KILLBILL_API_PAYMENTS_PREFIX}/#{Resource::KILLBILL_API_PAGINATION_PREFIX}",
|
23
31
|
{
|
@@ -5,55 +5,58 @@ module KillBillClient
|
|
5
5
|
has_many :audit_logs, KillBillClient::Model::AuditLog
|
6
6
|
|
7
7
|
def auth(account_id, payment_method_id = nil, user = nil, reason = nil, comment = nil, options = {})
|
8
|
-
|
9
|
-
query_map
|
10
|
-
|
11
|
-
@transaction_type = 'AUTHORIZE'
|
12
|
-
created_transaction = self.class.post "#{Account::KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/payments",
|
13
|
-
to_json,
|
14
|
-
query_map,
|
15
|
-
{
|
16
|
-
:user => user,
|
17
|
-
:reason => reason,
|
18
|
-
:comment => comment,
|
19
|
-
}.merge(options)
|
20
|
-
created_transaction.refresh(options, Payment)
|
8
|
+
@transaction_type = 'AUTHORIZE'
|
9
|
+
query_map = {}
|
10
|
+
create_initial_transaction("#{Account::KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/payments", query_map, payment_method_id, user, reason, comment, options)
|
21
11
|
end
|
22
12
|
|
23
13
|
def purchase(account_id, payment_method_id = nil, user = nil, reason = nil, comment = nil, options = {})
|
24
|
-
|
25
|
-
query_map
|
26
|
-
|
27
|
-
@transaction_type = 'PURCHASE'
|
28
|
-
created_transaction = self.class.post "#{Account::KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/payments",
|
29
|
-
to_json,
|
30
|
-
query_map,
|
31
|
-
{
|
32
|
-
:user => user,
|
33
|
-
:reason => reason,
|
34
|
-
:comment => comment,
|
35
|
-
}.merge(options)
|
36
|
-
created_transaction.refresh(options, Payment)
|
14
|
+
@transaction_type = 'PURCHASE'
|
15
|
+
query_map = {}
|
16
|
+
create_initial_transaction("#{Account::KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/payments", query_map, payment_method_id, user, reason, comment, options)
|
37
17
|
end
|
38
18
|
|
39
19
|
def credit(account_id, payment_method_id = nil, user = nil, reason = nil, comment = nil, options = {})
|
40
|
-
|
41
|
-
query_map
|
20
|
+
@transaction_type = 'CREDIT'
|
21
|
+
query_map = {}
|
22
|
+
create_initial_transaction("#{Account::KILLBILL_API_ACCOUNTS_PREFIX}/#{account_id}/payments", query_map, payment_method_id, user, reason, comment, options)
|
23
|
+
end
|
42
24
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
25
|
+
def auth_by_external_key(account_external_key, payment_method_id = nil, user = nil, reason = nil, comment = nil, options = {})
|
26
|
+
@transaction_type = 'AUTHORIZE'
|
27
|
+
query_map = {:externalKey => account_external_key}
|
28
|
+
create_initial_transaction("#{Account::KILLBILL_API_ACCOUNTS_PREFIX}/payments", query_map, payment_method_id, user, reason, comment, options)
|
29
|
+
end
|
30
|
+
|
31
|
+
def purchase_by_external_key(account_external_key, payment_method_id = nil, user = nil, reason = nil, comment = nil, options = {})
|
32
|
+
@transaction_type = 'PURCHASE'
|
33
|
+
query_map = {:externalKey => account_external_key}
|
34
|
+
create_initial_transaction("#{Account::KILLBILL_API_ACCOUNTS_PREFIX}/payments", query_map, payment_method_id, user, reason, comment, options)
|
35
|
+
end
|
36
|
+
|
37
|
+
def credit_by_external_key(account_external_key, payment_method_id = nil, user = nil, reason = nil, comment = nil, options = {})
|
38
|
+
@transaction_type = 'CREDIT'
|
39
|
+
query_map = {:externalKey => account_external_key}
|
40
|
+
create_initial_transaction("#{Account::KILLBILL_API_ACCOUNTS_PREFIX}/payments", query_map, payment_method_id, user, reason, comment, options)
|
41
|
+
end
|
42
|
+
|
43
|
+
def complete_auth(user = nil, reason = nil, comment = nil, options = {})
|
44
|
+
@transaction_type = 'AUTHORIZE'
|
45
|
+
complete_initial_transaction(user, reason, comment, options)
|
46
|
+
end
|
47
|
+
|
48
|
+
def complete_purchase(user = nil, reason = nil, comment = nil, options = {})
|
49
|
+
@transaction_type = 'PURCHASE'
|
50
|
+
complete_initial_transaction(user, reason, comment, options)
|
51
|
+
end
|
52
|
+
|
53
|
+
def complete_credit(user = nil, reason = nil, comment = nil, options = {})
|
54
|
+
@transaction_type = 'CREDIT'
|
55
|
+
complete_initial_transaction(user, reason, comment, options)
|
53
56
|
end
|
54
57
|
|
55
58
|
def capture(user = nil, reason = nil, comment = nil, options = {})
|
56
|
-
created_transaction = self.class.post "#{
|
59
|
+
created_transaction = self.class.post "#{follow_up_path(payment_id)}",
|
57
60
|
to_json,
|
58
61
|
{},
|
59
62
|
{
|
@@ -65,7 +68,7 @@ module KillBillClient
|
|
65
68
|
end
|
66
69
|
|
67
70
|
def refund(user = nil, reason = nil, comment = nil, options = {})
|
68
|
-
created_transaction = self.class.post "#{
|
71
|
+
created_transaction = self.class.post "#{follow_up_path(payment_id)}/refunds",
|
69
72
|
to_json,
|
70
73
|
{},
|
71
74
|
{
|
@@ -77,7 +80,7 @@ module KillBillClient
|
|
77
80
|
end
|
78
81
|
|
79
82
|
def void(user = nil, reason = nil, comment = nil, options = {})
|
80
|
-
created_transaction = self.class.delete "#{
|
83
|
+
created_transaction = self.class.delete "#{follow_up_path(payment_id)}",
|
81
84
|
to_json,
|
82
85
|
{},
|
83
86
|
{
|
@@ -89,7 +92,7 @@ module KillBillClient
|
|
89
92
|
end
|
90
93
|
|
91
94
|
def chargeback(user = nil, reason = nil, comment = nil, options = {})
|
92
|
-
created_transaction = self.class.post "#{
|
95
|
+
created_transaction = self.class.post "#{follow_up_path(payment_id)}/chargebacks",
|
93
96
|
to_json,
|
94
97
|
{},
|
95
98
|
{
|
@@ -99,6 +102,40 @@ module KillBillClient
|
|
99
102
|
}.merge(options)
|
100
103
|
created_transaction.refresh(options, Payment)
|
101
104
|
end
|
105
|
+
|
106
|
+
private
|
107
|
+
|
108
|
+
def follow_up_path(payment_id)
|
109
|
+
path = Payment::KILLBILL_API_PAYMENTS_PREFIX
|
110
|
+
path += "/#{payment_id}" unless payment_id.nil?
|
111
|
+
path
|
112
|
+
end
|
113
|
+
|
114
|
+
def create_initial_transaction(path, query_map, payment_method_id, user, reason, comment, options)
|
115
|
+
query_map[:paymentMethodId] = payment_method_id unless payment_method_id.nil?
|
116
|
+
|
117
|
+
created_transaction = self.class.post path,
|
118
|
+
to_json,
|
119
|
+
query_map,
|
120
|
+
{
|
121
|
+
:user => user,
|
122
|
+
:reason => reason,
|
123
|
+
:comment => comment,
|
124
|
+
}.merge(options)
|
125
|
+
created_transaction.refresh(options, Payment)
|
126
|
+
end
|
127
|
+
|
128
|
+
def complete_initial_transaction(user, reason, comment, options)
|
129
|
+
created_transaction = self.class.put follow_up_path(payment_id),
|
130
|
+
to_json,
|
131
|
+
{},
|
132
|
+
{
|
133
|
+
:user => user,
|
134
|
+
:reason => reason,
|
135
|
+
:comment => comment,
|
136
|
+
}.merge(options)
|
137
|
+
created_transaction.refresh(options, Payment)
|
138
|
+
end
|
102
139
|
end
|
103
140
|
end
|
104
141
|
end
|
@@ -1,13 +1,16 @@
|
|
1
1
|
module KillBillClient
|
2
2
|
module Utils
|
3
|
+
ACRONYMS = %w(CBA).freeze
|
4
|
+
|
3
5
|
def camelize(underscored_word, first_letter = :upper)
|
4
|
-
camelized = underscored_word.to_s.
|
5
|
-
|
6
|
-
|
7
|
-
camelized = camelized[0, 1].downcase + camelized[1..-1]
|
6
|
+
camelized = underscored_word.to_s.split('_').map do |word|
|
7
|
+
if acronym?(word)
|
8
|
+
word.upcase
|
8
9
|
else
|
9
|
-
|
10
|
-
|
10
|
+
word[0, 1].upcase + word[1..-1]
|
11
|
+
end
|
12
|
+
end.join
|
13
|
+
camelized = camelized[0, 1].downcase + camelized[1..-1] if first_letter == :lower
|
11
14
|
camelized
|
12
15
|
end
|
13
16
|
|
@@ -25,6 +28,10 @@ module KillBillClient
|
|
25
28
|
word
|
26
29
|
end
|
27
30
|
|
31
|
+
def acronym?(word)
|
32
|
+
ACRONYMS.include?(word.to_s.upcase)
|
33
|
+
end
|
34
|
+
|
28
35
|
extend self
|
29
36
|
end
|
30
37
|
end
|
metadata
CHANGED
@@ -1,65 +1,65 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Killbill core team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
15
|
-
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.2.0
|
20
|
-
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirement: !ruby/object:Gem::Requirement
|
23
21
|
requirements:
|
24
|
-
- -
|
22
|
+
- - '>='
|
25
23
|
- !ruby/object:Gem::Version
|
26
24
|
version: 1.2.0
|
25
|
+
prerelease: false
|
26
|
+
type: :runtime
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
|
-
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 10.0.0
|
34
|
-
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
37
35
|
requirements:
|
38
|
-
- -
|
36
|
+
- - '>='
|
39
37
|
- !ruby/object:Gem::Version
|
40
38
|
version: 10.0.0
|
39
|
+
prerelease: false
|
40
|
+
type: :development
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
|
-
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 2.12.0
|
48
|
-
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
51
49
|
requirements:
|
52
|
-
- -
|
50
|
+
- - ~>
|
53
51
|
- !ruby/object:Gem::Version
|
54
52
|
version: 2.12.0
|
53
|
+
prerelease: false
|
54
|
+
type: :development
|
55
55
|
description: An API client library for Kill Bill.
|
56
56
|
email: killbilling-users@googlegroups.com
|
57
57
|
executables: []
|
58
58
|
extensions: []
|
59
59
|
extra_rdoc_files: []
|
60
60
|
files:
|
61
|
-
-
|
62
|
-
-
|
61
|
+
- .gitignore
|
62
|
+
- .travis.yml
|
63
63
|
- Gemfile
|
64
64
|
- README.md
|
65
65
|
- Rakefile
|
@@ -74,17 +74,22 @@ files:
|
|
74
74
|
- lib/killbill_client/models/audit_log.rb
|
75
75
|
- lib/killbill_client/models/bundle.rb
|
76
76
|
- lib/killbill_client/models/catalog.rb
|
77
|
+
- lib/killbill_client/models/combo_hosted_payment_page.rb
|
78
|
+
- lib/killbill_client/models/combo_transaction.rb
|
77
79
|
- lib/killbill_client/models/credit.rb
|
78
80
|
- lib/killbill_client/models/custom_field.rb
|
79
81
|
- lib/killbill_client/models/event_subscription.rb
|
80
82
|
- lib/killbill_client/models/gen/account_attributes.rb
|
81
83
|
- lib/killbill_client/models/gen/account_email_attributes.rb
|
82
84
|
- lib/killbill_client/models/gen/account_timeline_attributes.rb
|
85
|
+
- lib/killbill_client/models/gen/admin_payment_attributes.rb
|
83
86
|
- lib/killbill_client/models/gen/audit_log_attributes.rb
|
84
87
|
- lib/killbill_client/models/gen/billing_exception_attributes.rb
|
85
88
|
- lib/killbill_client/models/gen/bundle_attributes.rb
|
86
89
|
- lib/killbill_client/models/gen/bundle_timeline_attributes.rb
|
87
90
|
- lib/killbill_client/models/gen/catalog_attributes_simple.rb
|
91
|
+
- lib/killbill_client/models/gen/combo_hosted_payment_page_attributes.rb
|
92
|
+
- lib/killbill_client/models/gen/combo_payment_transaction_attributes.rb
|
88
93
|
- lib/killbill_client/models/gen/credit_attributes.rb
|
89
94
|
- lib/killbill_client/models/gen/custom_field_attributes.rb
|
90
95
|
- lib/killbill_client/models/gen/event_subscription_attributes.rb
|
@@ -132,6 +137,7 @@ files:
|
|
132
137
|
- lib/killbill_client/models/gen/user_roles_attributes.rb
|
133
138
|
- lib/killbill_client/models/helpers/custom_field_helper.rb
|
134
139
|
- lib/killbill_client/models/helpers/tag_helper.rb
|
140
|
+
- lib/killbill_client/models/hosted_payment_page.rb
|
135
141
|
- lib/killbill_client/models/invoice.rb
|
136
142
|
- lib/killbill_client/models/invoice_item.rb
|
137
143
|
- lib/killbill_client/models/invoice_payment.rb
|
@@ -167,32 +173,26 @@ homepage: http://www.killbilling.org
|
|
167
173
|
licenses:
|
168
174
|
- Apache License (2.0)
|
169
175
|
metadata: {}
|
170
|
-
post_install_message:
|
176
|
+
post_install_message:
|
171
177
|
rdoc_options:
|
172
|
-
-
|
173
|
-
-
|
178
|
+
- --exclude
|
179
|
+
- .
|
174
180
|
require_paths:
|
175
181
|
- lib
|
176
182
|
required_ruby_version: !ruby/object:Gem::Requirement
|
177
183
|
requirements:
|
178
|
-
- -
|
184
|
+
- - '>='
|
179
185
|
- !ruby/object:Gem::Version
|
180
186
|
version: 1.8.6
|
181
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
188
|
requirements:
|
183
|
-
- -
|
189
|
+
- - '>='
|
184
190
|
- !ruby/object:Gem::Version
|
185
191
|
version: '0'
|
186
192
|
requirements: []
|
187
|
-
rubyforge_project:
|
188
|
-
rubygems_version: 2.
|
189
|
-
signing_key:
|
193
|
+
rubyforge_project:
|
194
|
+
rubygems_version: 2.1.9
|
195
|
+
signing_key:
|
190
196
|
specification_version: 4
|
191
197
|
summary: Kill Bill client library.
|
192
|
-
test_files:
|
193
|
-
- spec/killbill_client/model_relation_spec.rb
|
194
|
-
- spec/killbill_client/remote/api_spec.rb
|
195
|
-
- spec/killbill_client/remote/model_spec.rb
|
196
|
-
- spec/killbill_client/resource_spec.rb
|
197
|
-
- spec/killbill_client/resources_spec.rb
|
198
|
-
- spec/spec_helper.rb
|
198
|
+
test_files: []
|