iyzipay 1.0.34 → 1.0.35
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 +5 -13
- data/{LICENSE.txt → LICENSE} +0 -0
- data/README.md +64 -7
- data/VERSION +1 -1
- data/iyzipay.gemspec +1 -2
- data/lib/Iyzipay.rb +1 -2
- data/lib/iyzipay/http_client.rb +1 -1
- data/lib/iyzipay/iyzipay_resource.rb +1 -0
- data/lib/iyzipay/model.rb +8 -1
- data/lib/iyzipay/model/api_test.rb +10 -0
- data/lib/iyzipay/model/bkm_initialize.rb +1 -0
- data/lib/iyzipay/model/card.rb +36 -0
- data/lib/iyzipay/model/card_information.rb +17 -0
- data/lib/iyzipay/model/card_list.rb +17 -0
- data/lib/iyzipay/model/currency.rb +1 -0
- data/lib/iyzipay/model/locale.rb +8 -0
- data/lib/iyzipay/model/pecco_initialize.rb +27 -0
- data/lib/iyzipay/model/pecco_payment.rb +17 -0
- data/spec/{basic_payment_post_auth_spec.rb → api_test_spec.rb} +3 -11
- data/spec/approval_spec.rb +2 -17
- data/spec/bin_number_spec.rb +2 -2
- data/spec/bkm_spec.rb +19 -24
- data/spec/cancel_spec.rb +2 -2
- data/spec/card_storage_spec.rb +94 -0
- data/spec/checkout_form_spec.rb +20 -26
- data/spec/{payment_post_auth_spec.rb → disapproval_spec.rb} +5 -8
- data/spec/installment_spec.rb +5 -5
- data/spec/payment_spec.rb +54 -58
- data/spec/{checkout_form_pre_auth_spec.rb → pecco_spec.rb} +30 -18
- data/spec/refund_spec.rb +5 -23
- data/spec/retrieve_transactions_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/spec/sub_merchant_spec.rb +7 -8
- data/spec/threeds_payment_spec.rb +9 -9
- metadata +33 -34
- data/lib/iyzipay/version.rb +0 -3
- data/spec/basic_bkm_spec.rb +0 -261
- data/spec/basic_payment_pre_auth_spec.rb +0 -73
- data/spec/basic_payment_spec.rb +0 -73
- data/spec/basic_threeds_pre_auth_spec.rb +0 -103
- data/spec/basic_threeds_spec.rb +0 -103
- data/spec/cross_booking_spec.rb +0 -51
- data/spec/payment_pre_auth_spec.rb +0 -280
- data/spec/threeds_pre_auth_spec.rb +0 -226
data/lib/iyzipay/version.rb
DELETED
data/spec/basic_bkm_spec.rb
DELETED
@@ -1,261 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
require_relative 'spec_helper'
|
4
|
-
|
5
|
-
RSpec.describe 'Iyzipay' do
|
6
|
-
before :all do
|
7
|
-
@options = Iyzipay::Options.new
|
8
|
-
@options.api_key = 'your api key'
|
9
|
-
@options.secret_key = 'your secret key'
|
10
|
-
@options.base_url = 'https://sandbox-api.iyzipay.com'
|
11
|
-
end
|
12
|
-
|
13
|
-
it 'should initialize bkm express' do
|
14
|
-
request = {
|
15
|
-
locale: 'tr',
|
16
|
-
conversationId: '123456789',
|
17
|
-
price: '1.0',
|
18
|
-
callbackUrl: 'https://www.merchant.com/callback',
|
19
|
-
buyerId: '100',
|
20
|
-
buyerEmail: 'john@doe.com',
|
21
|
-
buyerIp: '85.34.78.112',
|
22
|
-
connectorName: '294-isbank',
|
23
|
-
installmentDetails: [isbank_installment_details, finansbank_installment_details, akbank_installment_details, ykb_installment_details, denizbank_installment_details, halkbank_installment_details]
|
24
|
-
}
|
25
|
-
bkm_initialize = Iyzipay::Model::BasicBkmInitialize.new.create(request, @options)
|
26
|
-
|
27
|
-
begin
|
28
|
-
$stderr.puts bkm_initialize.inspect
|
29
|
-
|
30
|
-
bkm_initialize_dict = JSON.parse(bkm_initialize)
|
31
|
-
unless bkm_initialize_dict['htmlContent'].nil?
|
32
|
-
$stderr.puts Base64.decode64(bkm_initialize_dict['htmlContent']).inspect
|
33
|
-
end
|
34
|
-
rescue
|
35
|
-
$stderr.puts 'oops'
|
36
|
-
raise
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
it 'should retrieve bkm express payment' do
|
41
|
-
request = {
|
42
|
-
locale: 'tr',
|
43
|
-
conversationId: '123456789',
|
44
|
-
token: 'mockToken_1462524972636'
|
45
|
-
}
|
46
|
-
bkm = Iyzipay::Model::BasicBkm.new.retrieve(request, @options)
|
47
|
-
begin
|
48
|
-
$stderr.puts bkm.inspect
|
49
|
-
rescue
|
50
|
-
$stderr.puts 'oops'
|
51
|
-
raise
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
def isbank_installment_details
|
56
|
-
single_installment = {
|
57
|
-
installmentNumber: 1,
|
58
|
-
totalPrice: '1'
|
59
|
-
}
|
60
|
-
two_installments = {
|
61
|
-
installmentNumber: 2,
|
62
|
-
totalPrice: '1.1'
|
63
|
-
}
|
64
|
-
three_installments = {
|
65
|
-
installmentNumber: 3,
|
66
|
-
totalPrice: '1.1'
|
67
|
-
}
|
68
|
-
six_installments = {
|
69
|
-
installmentNumber: 6,
|
70
|
-
totalPrice: '1.2'
|
71
|
-
}
|
72
|
-
nine_installments = {
|
73
|
-
installmentNumber: 9,
|
74
|
-
totalPrice: '1.4'
|
75
|
-
}
|
76
|
-
{
|
77
|
-
bankId: 64,
|
78
|
-
conversationId: '123456789',
|
79
|
-
price: '1.0',
|
80
|
-
callbackUrl: 'https://www.merchant.com/callback',
|
81
|
-
buyerId: '100',
|
82
|
-
buyerEmail: 'john@doe.com',
|
83
|
-
buyerIp: '85.34.78.112',
|
84
|
-
connectorName: '294-isbank',
|
85
|
-
installmentPrices: [single_installment, two_installments, three_installments, six_installments, nine_installments]
|
86
|
-
}
|
87
|
-
end
|
88
|
-
|
89
|
-
def finansbank_installment_details
|
90
|
-
single_installment = {
|
91
|
-
installmentNumber: 1,
|
92
|
-
totalPrice: '1'
|
93
|
-
}
|
94
|
-
two_installments = {
|
95
|
-
installmentNumber: 2,
|
96
|
-
totalPrice: '1.1'
|
97
|
-
}
|
98
|
-
three_installments = {
|
99
|
-
installmentNumber: 3,
|
100
|
-
totalPrice: '1.1'
|
101
|
-
}
|
102
|
-
six_installments = {
|
103
|
-
installmentNumber: 6,
|
104
|
-
totalPrice: '1.2'
|
105
|
-
}
|
106
|
-
nine_installments = {
|
107
|
-
installmentNumber: 9,
|
108
|
-
totalPrice: '1.4'
|
109
|
-
}
|
110
|
-
{
|
111
|
-
bankId: 111,
|
112
|
-
conversationId: '123456789',
|
113
|
-
price: '1.0',
|
114
|
-
callbackUrl: 'https://www.merchant.com/callback',
|
115
|
-
buyerId: '100',
|
116
|
-
buyerEmail: 'john@doe.com',
|
117
|
-
buyerIp: '85.34.78.112',
|
118
|
-
connectorName: '294-isbank',
|
119
|
-
installmentPrices: [single_installment, two_installments, three_installments, six_installments, nine_installments]
|
120
|
-
}
|
121
|
-
end
|
122
|
-
|
123
|
-
def akbank_installment_details
|
124
|
-
single_installment = {
|
125
|
-
installmentNumber: 1,
|
126
|
-
totalPrice: '1'
|
127
|
-
}
|
128
|
-
two_installments = {
|
129
|
-
installmentNumber: 2,
|
130
|
-
totalPrice: '1.1'
|
131
|
-
}
|
132
|
-
three_installments = {
|
133
|
-
installmentNumber: 3,
|
134
|
-
totalPrice: '1.1'
|
135
|
-
}
|
136
|
-
six_installments = {
|
137
|
-
installmentNumber: 6,
|
138
|
-
totalPrice: '1.2'
|
139
|
-
}
|
140
|
-
nine_installments = {
|
141
|
-
installmentNumber: 9,
|
142
|
-
totalPrice: '1.4'
|
143
|
-
}
|
144
|
-
{
|
145
|
-
bankId: 46,
|
146
|
-
conversationId: '123456789',
|
147
|
-
price: '1.0',
|
148
|
-
callbackUrl: 'https://www.merchant.com/callback',
|
149
|
-
buyerId: '100',
|
150
|
-
buyerEmail: 'john@doe.com',
|
151
|
-
buyerIp: '85.34.78.112',
|
152
|
-
connectorName: '294-isbank',
|
153
|
-
installmentPrices: [single_installment, two_installments, three_installments, six_installments, nine_installments]
|
154
|
-
}
|
155
|
-
end
|
156
|
-
|
157
|
-
def ykb_installment_details
|
158
|
-
single_installment = {
|
159
|
-
installmentNumber: 1,
|
160
|
-
totalPrice: '1'
|
161
|
-
}
|
162
|
-
two_installments = {
|
163
|
-
installmentNumber: 2,
|
164
|
-
totalPrice: '1.1'
|
165
|
-
}
|
166
|
-
three_installments = {
|
167
|
-
installmentNumber: 3,
|
168
|
-
totalPrice: '1.1'
|
169
|
-
}
|
170
|
-
six_installments = {
|
171
|
-
installmentNumber: 6,
|
172
|
-
totalPrice: '1.2'
|
173
|
-
}
|
174
|
-
nine_installments = {
|
175
|
-
installmentNumber: 9,
|
176
|
-
totalPrice: '1.4'
|
177
|
-
}
|
178
|
-
{
|
179
|
-
bankId: 67,
|
180
|
-
conversationId: '123456789',
|
181
|
-
price: '1.0',
|
182
|
-
callbackUrl: 'https://www.merchant.com/callback',
|
183
|
-
buyerId: '100',
|
184
|
-
buyerEmail: 'john@doe.com',
|
185
|
-
buyerIp: '85.34.78.112',
|
186
|
-
connectorName: '294-isbank',
|
187
|
-
installmentPrices: [single_installment, two_installments, three_installments, six_installments, nine_installments]
|
188
|
-
}
|
189
|
-
end
|
190
|
-
|
191
|
-
def denizbank_installment_details
|
192
|
-
single_installment = {
|
193
|
-
installmentNumber: 1,
|
194
|
-
totalPrice: '1'
|
195
|
-
}
|
196
|
-
two_installments = {
|
197
|
-
installmentNumber: 2,
|
198
|
-
totalPrice: '1.1'
|
199
|
-
}
|
200
|
-
three_installments = {
|
201
|
-
installmentNumber: 3,
|
202
|
-
totalPrice: '1.1'
|
203
|
-
}
|
204
|
-
six_installments = {
|
205
|
-
installmentNumber: 6,
|
206
|
-
totalPrice: '1.2'
|
207
|
-
}
|
208
|
-
nine_installments = {
|
209
|
-
installmentNumber: 9,
|
210
|
-
totalPrice: '1.4'
|
211
|
-
}
|
212
|
-
{
|
213
|
-
bankId: 134,
|
214
|
-
conversationId: '123456789',
|
215
|
-
price: '1.0',
|
216
|
-
callbackUrl: 'https://www.merchant.com/callback',
|
217
|
-
buyerId: '100',
|
218
|
-
buyerEmail: 'john@doe.com',
|
219
|
-
buyerIp: '85.34.78.112',
|
220
|
-
connectorName: '294-isbank',
|
221
|
-
installmentPrices: [single_installment, two_installments, three_installments, six_installments, nine_installments]
|
222
|
-
}
|
223
|
-
end
|
224
|
-
|
225
|
-
def halkbank_installment_details
|
226
|
-
single_installment = {
|
227
|
-
installmentNumber: 1,
|
228
|
-
totalPrice: '1'
|
229
|
-
}
|
230
|
-
two_installments = {
|
231
|
-
installmentNumber: 2,
|
232
|
-
totalPrice: '1.1'
|
233
|
-
}
|
234
|
-
three_installments = {
|
235
|
-
installmentNumber: 3,
|
236
|
-
totalPrice: '1.1'
|
237
|
-
}
|
238
|
-
six_installments = {
|
239
|
-
installmentNumber: 6,
|
240
|
-
totalPrice: '1.2'
|
241
|
-
}
|
242
|
-
nine_installments = {
|
243
|
-
installmentNumber: 9,
|
244
|
-
totalPrice: '1.4'
|
245
|
-
}
|
246
|
-
{
|
247
|
-
bankId: 12,
|
248
|
-
conversationId: '123456789',
|
249
|
-
price: '1.0',
|
250
|
-
callbackUrl: 'https://www.merchant.com/callback',
|
251
|
-
buyerId: '100',
|
252
|
-
buyerEmail: 'john@doe.com',
|
253
|
-
buyerIp: '85.34.78.112',
|
254
|
-
connectorName: '294-isbank',
|
255
|
-
installmentPrices: [single_installment, two_installments, three_installments, six_installments, nine_installments]
|
256
|
-
}
|
257
|
-
end
|
258
|
-
|
259
|
-
after :each do
|
260
|
-
end
|
261
|
-
end
|
@@ -1,73 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
require_relative 'spec_helper'
|
4
|
-
|
5
|
-
RSpec.describe 'Iyzipay' do
|
6
|
-
before :all do
|
7
|
-
@options = Iyzipay::Options.new
|
8
|
-
@options.api_key = 'your api key'
|
9
|
-
@options.secret_key = 'your secret key'
|
10
|
-
@options.base_url = 'https://sandbox-api.iyzipay.com'
|
11
|
-
end
|
12
|
-
|
13
|
-
it 'should pay with card' do
|
14
|
-
payment_card = {
|
15
|
-
cardHolderName: 'John Doe',
|
16
|
-
cardNumber: '5528790000000008',
|
17
|
-
expireYear: '2030',
|
18
|
-
expireMonth: '12',
|
19
|
-
cvc: '123',
|
20
|
-
registerCard: 0
|
21
|
-
}
|
22
|
-
request = {
|
23
|
-
locale: 'tr',
|
24
|
-
conversationId: '123456789',
|
25
|
-
buyerEmail: 'john@doe.com',
|
26
|
-
buyerId: 'B2323',
|
27
|
-
buyerIp: '85.34.78.112',
|
28
|
-
connectorName: 'isbank',
|
29
|
-
installment: 1,
|
30
|
-
paidPrice: '1',
|
31
|
-
price: '1',
|
32
|
-
currency: Iyzipay::Model::Currency::TRY,
|
33
|
-
paymentCard: payment_card
|
34
|
-
}
|
35
|
-
payment = Iyzipay::Model::BasicPaymentPreAuth.new.create(request, @options)
|
36
|
-
begin
|
37
|
-
$stderr.puts payment.inspect
|
38
|
-
rescue
|
39
|
-
$stderr.puts 'oops'
|
40
|
-
raise
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
it 'should pay with card token' do
|
45
|
-
payment_card = {
|
46
|
-
cardToken: 'card token',
|
47
|
-
cardUserKey: 'card user key'
|
48
|
-
}
|
49
|
-
request = {
|
50
|
-
locale: 'tr',
|
51
|
-
conversationId: '123456789',
|
52
|
-
buyerEmail: 'john@doe.com',
|
53
|
-
buyerId: 'B2323',
|
54
|
-
buyerIp: '85.34.78.112',
|
55
|
-
connectorName: 'isbank',
|
56
|
-
installment: 1,
|
57
|
-
paidPrice: '1',
|
58
|
-
price: '1',
|
59
|
-
currency: Iyzipay::Model::Currency::TRY,
|
60
|
-
paymentCard: payment_card
|
61
|
-
}
|
62
|
-
payment = Iyzipay::Model::BasicPaymentPreAuth.new.create(request, @options)
|
63
|
-
begin
|
64
|
-
$stderr.puts payment.inspect
|
65
|
-
rescue
|
66
|
-
$stderr.puts 'oops'
|
67
|
-
raise
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
after :each do
|
72
|
-
end
|
73
|
-
end
|
data/spec/basic_payment_spec.rb
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
require_relative 'spec_helper'
|
4
|
-
|
5
|
-
RSpec.describe 'Iyzipay' do
|
6
|
-
before :all do
|
7
|
-
@options = Iyzipay::Options.new
|
8
|
-
@options.api_key = 'your api key'
|
9
|
-
@options.secret_key = 'your secret key'
|
10
|
-
@options.base_url = 'https://sandbox-api.iyzipay.com'
|
11
|
-
end
|
12
|
-
|
13
|
-
it 'should pay with card' do
|
14
|
-
payment_card = {
|
15
|
-
cardHolderName: 'John Doe',
|
16
|
-
cardNumber: '5528790000000008',
|
17
|
-
expireYear: '2030',
|
18
|
-
expireMonth: '12',
|
19
|
-
cvc: '123',
|
20
|
-
registerCard: 0
|
21
|
-
}
|
22
|
-
request = {
|
23
|
-
locale: 'tr',
|
24
|
-
conversationId: '123456789',
|
25
|
-
buyerEmail: 'john@doe.com',
|
26
|
-
buyerId: 'B2323',
|
27
|
-
buyerIp: '85.34.78.112',
|
28
|
-
connectorName: 'isbank',
|
29
|
-
installment: 1,
|
30
|
-
paidPrice: '1',
|
31
|
-
price: '1',
|
32
|
-
currency: Iyzipay::Model::Currency::TRY,
|
33
|
-
paymentCard: payment_card
|
34
|
-
}
|
35
|
-
payment = Iyzipay::Model::BasicPayment.new.create(request, @options)
|
36
|
-
begin
|
37
|
-
$stderr.puts payment.inspect
|
38
|
-
rescue
|
39
|
-
$stderr.puts 'oops'
|
40
|
-
raise
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
it 'should pay with card token' do
|
45
|
-
payment_card = {
|
46
|
-
cardToken: 'card token',
|
47
|
-
cardUserKey: 'card user key'
|
48
|
-
}
|
49
|
-
request = {
|
50
|
-
locale: 'tr',
|
51
|
-
conversationId: '123456789',
|
52
|
-
buyerEmail: 'john@doe.com',
|
53
|
-
buyerId: 'B2323',
|
54
|
-
buyerIp: '85.34.78.112',
|
55
|
-
connectorName: 'isbank',
|
56
|
-
installment: 1,
|
57
|
-
paidPrice: '1',
|
58
|
-
price: '1',
|
59
|
-
currency: Iyzipay::Model::Currency::TRY,
|
60
|
-
paymentCard: payment_card
|
61
|
-
}
|
62
|
-
payment = Iyzipay::Model::BasicPayment.new.create(request, @options)
|
63
|
-
begin
|
64
|
-
$stderr.puts payment.inspect
|
65
|
-
rescue
|
66
|
-
$stderr.puts 'oops'
|
67
|
-
raise
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
after :each do
|
72
|
-
end
|
73
|
-
end
|
@@ -1,103 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
require_relative 'spec_helper'
|
4
|
-
|
5
|
-
RSpec.describe 'Iyzipay' do
|
6
|
-
before :all do
|
7
|
-
@options = Iyzipay::Options.new
|
8
|
-
@options.api_key = 'your api key'
|
9
|
-
@options.secret_key = 'your secret key'
|
10
|
-
@options.base_url = 'https://sandbox-api.iyzipay.com'
|
11
|
-
end
|
12
|
-
|
13
|
-
it 'should initialize threeds pre auth with card' do
|
14
|
-
payment_card = {
|
15
|
-
cardHolderName: 'John Doe',
|
16
|
-
cardNumber: '5528790000000008',
|
17
|
-
expireYear: '2030',
|
18
|
-
expireMonth: '12',
|
19
|
-
cvc: '123',
|
20
|
-
registerCard: 0
|
21
|
-
}
|
22
|
-
request = {
|
23
|
-
locale: 'tr',
|
24
|
-
conversationId: '123456789',
|
25
|
-
buyerEmail: 'john@doe.com',
|
26
|
-
buyerId: '100',
|
27
|
-
buyerIp: '85.34.78.112',
|
28
|
-
connectorName: '294-isbank',
|
29
|
-
installment: 1,
|
30
|
-
paidPrice: '1',
|
31
|
-
price: '1',
|
32
|
-
callbackUrl: 'https://www.merchant.com/callback',
|
33
|
-
currency: Iyzipay::Model::Currency::TRY,
|
34
|
-
paymentCard: payment_card
|
35
|
-
}
|
36
|
-
threeds_initialize = Iyzipay::Model::BasicThreedsInitializePreAuth.new.create(request, @options)
|
37
|
-
|
38
|
-
begin
|
39
|
-
$stderr.puts threeds_initialize.inspect
|
40
|
-
|
41
|
-
threeds_initialize_dict = JSON.parse(threeds_initialize)
|
42
|
-
unless threeds_initialize_dict['threeDSHtmlContent'].nil?
|
43
|
-
$stderr.puts Base64.decode64(threeds_initialize_dict['threeDSHtmlContent']).inspect
|
44
|
-
end
|
45
|
-
rescue
|
46
|
-
$stderr.puts 'oops'
|
47
|
-
raise
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
it 'should initialize threeds pre auth with card token' do
|
52
|
-
payment_card = {
|
53
|
-
cardToken: 'card token',
|
54
|
-
cardUserKey: 'card user key'
|
55
|
-
}
|
56
|
-
request = {
|
57
|
-
locale: 'tr',
|
58
|
-
conversationId: '123456789',
|
59
|
-
buyerEmail: 'john@doe.com',
|
60
|
-
buyerId: '100',
|
61
|
-
buyerIp: '85.34.78.112',
|
62
|
-
connectorName: 'isbank',
|
63
|
-
installment: 1,
|
64
|
-
paidPrice: '1',
|
65
|
-
price: '1',
|
66
|
-
callbackUrl: 'https://www.merchant.com/callback',
|
67
|
-
currency: Iyzipay::Model::Currency::TRY,
|
68
|
-
paymentCard: payment_card
|
69
|
-
}
|
70
|
-
threeds_initialize = Iyzipay::Model::BasicThreedsInitializePreAuth.new.create(request, @options)
|
71
|
-
|
72
|
-
begin
|
73
|
-
$stderr.puts threeds_initialize.inspect
|
74
|
-
|
75
|
-
threeds_initialize_dict = JSON.parse(threeds_initialize)
|
76
|
-
unless threeds_initialize_dict['threeDSHtmlContent'].nil?
|
77
|
-
$stderr.puts Base64.decode64(threeds_initialize_dict['threeDSHtmlContent']).inspect
|
78
|
-
end
|
79
|
-
rescue
|
80
|
-
$stderr.puts 'oops'
|
81
|
-
raise
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
it 'should auth threeds' do
|
86
|
-
request = {
|
87
|
-
locale: 'tr',
|
88
|
-
conversationId: '123456789',
|
89
|
-
paymentId: '1'
|
90
|
-
}
|
91
|
-
basic_threeds = Iyzipay::Model::BasicThreedsPayment.new.create(request, @options)
|
92
|
-
|
93
|
-
begin
|
94
|
-
$stderr.puts basic_threeds.inspect
|
95
|
-
rescue
|
96
|
-
$stderr.puts 'oops'
|
97
|
-
raise
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
after :each do
|
102
|
-
end
|
103
|
-
end
|