braintree 2.68.1 → 2.68.2
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/README.rdoc +1 -5
- data/lib/braintree/configuration.rb +1 -1
- data/lib/braintree/customer.rb +4 -2
- data/lib/braintree/payment_instrument_type.rb +1 -0
- data/lib/braintree/payment_method.rb +2 -2
- data/lib/braintree/payment_method_gateway.rb +9 -3
- data/lib/braintree/transaction/us_bank_account_details.rb +1 -1
- data/lib/braintree/us_bank_account.rb +1 -1
- data/lib/braintree/version.rb +1 -1
- data/spec/httpsd.pid +1 -1
- data/spec/integration/braintree/customer_spec.rb +20 -0
- data/spec/integration/braintree/payment_method_spec.rb +25 -3
- data/spec/integration/braintree/transaction_spec.rb +23 -2
- data/spec/integration/braintree/us_bank_account_spec.rb +3 -0
- data/spec/unit/braintree/configuration_spec.rb +28 -0
- data/spec/unit/braintree/payment_method_spec.rb +17 -2
- metadata +170 -170
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f959a5b8e2eb6fd12c14023b7f3c6226e95052b
|
|
4
|
+
data.tar.gz: a172c5411435ab1f6c91784e3175ce2c52752db0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4555e21b4728f89d06ecbfe39b498b5990f6394c774e0f8c198e3cb0a182abc60dc9933abd80e027b9d0ce80563f20a7e77a297c9e90f1dd352e98ea83012a6
|
|
7
|
+
data.tar.gz: e7254d320ff795574e979784b44e3ab05186155a44df406e231562b2b8edd42b4790f11fe4f9f2c1ac0f173bde22d05d9e798edcd7cd55531d98804d37b0ddfb
|
data/README.rdoc
CHANGED
|
@@ -88,10 +88,6 @@ The unit specs can be run by anyone on any system, but the integration specs are
|
|
|
88
88
|
server of our gateway code. These integration specs are not meant for public consumption and will likely fail if run on
|
|
89
89
|
your system. To run unit tests use rake: <tt>rake test:unit</tt>.
|
|
90
90
|
|
|
91
|
-
== Open Source Attribution
|
|
92
|
-
|
|
93
|
-
A list of open source projects that help power Braintree can be found here[https://www.braintreepayments.com/developers/open-source].
|
|
94
|
-
|
|
95
91
|
== License
|
|
96
92
|
|
|
97
|
-
See the LICENSE file.
|
|
93
|
+
See the [LICENSE](LICENSE) file for more info.
|
|
@@ -47,7 +47,7 @@ module Braintree
|
|
|
47
47
|
attributes.each do |attribute|
|
|
48
48
|
(class << self; self; end).send(:define_method, attribute) do
|
|
49
49
|
attribute_value = instance_variable_get("@#{attribute}")
|
|
50
|
-
raise ConfigurationError.new("Braintree::Configuration.#{attribute.to_s} needs to be set")
|
|
50
|
+
raise ConfigurationError.new("Braintree::Configuration.#{attribute.to_s} needs to be set") if attribute_value.nil? || attribute_value.to_s.empty?
|
|
51
51
|
attribute_value
|
|
52
52
|
end
|
|
53
53
|
end
|
data/lib/braintree/customer.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Braintree
|
|
|
4
4
|
|
|
5
5
|
attr_reader :addresses, :company, :created_at, :credit_cards, :email, :fax, :first_name, :id, :last_name,
|
|
6
6
|
:phone, :updated_at, :website, :custom_fields, :paypal_accounts, :apple_pay_cards, :coinbase_accounts,
|
|
7
|
-
:android_pay_cards, :amex_express_checkout_cards, :venmo_accounts
|
|
7
|
+
:android_pay_cards, :amex_express_checkout_cards, :venmo_accounts, :us_bank_accounts
|
|
8
8
|
|
|
9
9
|
def self.all
|
|
10
10
|
Configuration.gateway.customer.all
|
|
@@ -94,6 +94,7 @@ module Braintree
|
|
|
94
94
|
@android_pay_cards = (@android_pay_cards || []).map { |pm| AndroidPayCard._new gateway, pm }
|
|
95
95
|
@amex_express_checkout_cards = (@amex_express_checkout_cards || []).map { |pm| AmexExpressCheckoutCard._new gateway, pm }
|
|
96
96
|
@venmo_accounts = (@venmo_accounts || []).map { |pm| VenmoAccount._new gateway, pm }
|
|
97
|
+
@us_bank_accounts = (@us_bank_accounts || []).map { |pm| UsBankAccount._new gateway, pm }
|
|
97
98
|
@addresses = (@addresses || []).map { |addr| Address._new gateway, addr }
|
|
98
99
|
@custom_fields = attributes[:custom_fields].is_a?(Hash) ? attributes[:custom_fields] : {}
|
|
99
100
|
end
|
|
@@ -131,7 +132,8 @@ module Braintree
|
|
|
131
132
|
@coinbase_accounts +
|
|
132
133
|
@android_pay_cards +
|
|
133
134
|
@amex_express_checkout_cards +
|
|
134
|
-
@venmo_accounts
|
|
135
|
+
@venmo_accounts +
|
|
136
|
+
@us_bank_accounts
|
|
135
137
|
end
|
|
136
138
|
|
|
137
139
|
def inspect # :nodoc:
|
|
@@ -18,8 +18,8 @@ module Braintree
|
|
|
18
18
|
Configuration.gateway.payment_method.delete(token)
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
def self.grant(token,
|
|
22
|
-
Configuration.gateway.payment_method.grant(token,
|
|
21
|
+
def self.grant(token, options = {})
|
|
22
|
+
Configuration.gateway.payment_method.grant(token, options)
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def self.revoke(token)
|
|
@@ -76,15 +76,21 @@ module Braintree
|
|
|
76
76
|
_do_update(:put, "/payment_methods/any/#{token}", :payment_method => attributes)
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
def grant(token,
|
|
79
|
+
def grant(token, options = {})
|
|
80
80
|
raise ArgumentError if token.nil? || token.to_s.strip == ""
|
|
81
|
+
if options.class == Hash
|
|
82
|
+
grant_options = options
|
|
83
|
+
elsif [true, false].include?(options)
|
|
84
|
+
grant_options = { :allow_vaulting => options }
|
|
85
|
+
else
|
|
86
|
+
raise ArgumentError
|
|
87
|
+
end
|
|
81
88
|
|
|
82
89
|
_do_create(
|
|
83
90
|
"/payment_methods/grant",
|
|
84
91
|
:payment_method => {
|
|
85
92
|
:shared_payment_method_token => token,
|
|
86
|
-
|
|
87
|
-
}
|
|
93
|
+
}.merge(grant_options)
|
|
88
94
|
)
|
|
89
95
|
rescue NotFoundError
|
|
90
96
|
raise NotFoundError, "payment method with token #{token.inspect} not found"
|
|
@@ -3,7 +3,7 @@ module Braintree
|
|
|
3
3
|
class UsBankAccountDetails # :nodoc:
|
|
4
4
|
include BaseModule
|
|
5
5
|
|
|
6
|
-
attr_reader :routing_number, :last_4, :account_type, :account_description, :account_holder_name, :token, :image_url
|
|
6
|
+
attr_reader :routing_number, :last_4, :account_type, :account_description, :account_holder_name, :token, :image_url, :bank_name
|
|
7
7
|
|
|
8
8
|
def initialize(attributes)
|
|
9
9
|
set_instance_variables_from_hash attributes unless attributes.nil?
|
|
@@ -2,7 +2,7 @@ module Braintree
|
|
|
2
2
|
class UsBankAccount
|
|
3
3
|
include BaseModule
|
|
4
4
|
|
|
5
|
-
attr_reader :routing_number, :last_4, :account_type, :account_description, :account_holder_name, :token, :image_url
|
|
5
|
+
attr_reader :routing_number, :last_4, :account_type, :account_description, :account_holder_name, :token, :image_url, :bank_name
|
|
6
6
|
|
|
7
7
|
def initialize(gateway, attributes) # :nodoc:
|
|
8
8
|
@gateway = gateway
|
data/lib/braintree/version.rb
CHANGED
data/spec/httpsd.pid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
24610
|
|
@@ -898,6 +898,26 @@ describe Braintree::Customer do
|
|
|
898
898
|
venmo_account.username.should_not be_nil
|
|
899
899
|
end
|
|
900
900
|
|
|
901
|
+
it "returns associated us bank accounts" do
|
|
902
|
+
result = Braintree::Customer.create(
|
|
903
|
+
:payment_method_nonce => generate_valid_us_bank_account_nonce
|
|
904
|
+
)
|
|
905
|
+
result.should be_success
|
|
906
|
+
|
|
907
|
+
found_customer = Braintree::Customer.find(result.customer.id)
|
|
908
|
+
found_customer.us_bank_accounts.size.should == 1
|
|
909
|
+
found_customer.payment_methods.size.should == 1
|
|
910
|
+
|
|
911
|
+
us_bank_account = found_customer.us_bank_accounts.first
|
|
912
|
+
us_bank_account.should be_a(Braintree::UsBankAccount)
|
|
913
|
+
us_bank_account.routing_number.should == "123456789"
|
|
914
|
+
us_bank_account.last_4.should == "1234"
|
|
915
|
+
us_bank_account.account_type.should == "checking"
|
|
916
|
+
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
|
917
|
+
us_bank_account.account_holder_name.should == "Dan Schulman"
|
|
918
|
+
us_bank_account.bank_name.should == "UNKNOWN"
|
|
919
|
+
end
|
|
920
|
+
|
|
901
921
|
it "works for a blank customer" do
|
|
902
922
|
created_customer = Braintree::Customer.create!
|
|
903
923
|
found_customer = Braintree::Customer.find(created_customer.id)
|
|
@@ -497,6 +497,7 @@ describe Braintree::PaymentMethod do
|
|
|
497
497
|
us_bank_account.account_type.should == "checking"
|
|
498
498
|
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
|
499
499
|
us_bank_account.account_holder_name.should == "Dan Schulman"
|
|
500
|
+
us_bank_account.bank_name.should == "UNKNOWN"
|
|
500
501
|
end
|
|
501
502
|
|
|
502
503
|
it "does not creates a payment method from an invalid us bank account nonce" do
|
|
@@ -1328,7 +1329,7 @@ describe Braintree::PaymentMethod do
|
|
|
1328
1329
|
end
|
|
1329
1330
|
|
|
1330
1331
|
it "returns a nonce that is transactable by a partner merchant exactly once" do
|
|
1331
|
-
grant_result = @granting_gateway.payment_method.grant(@credit_card.token, false)
|
|
1332
|
+
grant_result = @granting_gateway.payment_method.grant(@credit_card.token, :allow_vaulting => false)
|
|
1332
1333
|
grant_result.should be_success
|
|
1333
1334
|
|
|
1334
1335
|
result = Braintree::Transaction.sale(
|
|
@@ -1357,7 +1358,7 @@ describe Braintree::PaymentMethod do
|
|
|
1357
1358
|
end
|
|
1358
1359
|
|
|
1359
1360
|
it "returns a nonce that is vaultable" do
|
|
1360
|
-
grant_result = @granting_gateway.payment_method.grant(@credit_card.token, true)
|
|
1361
|
+
grant_result = @granting_gateway.payment_method.grant(@credit_card.token, :allow_vaulting => true)
|
|
1361
1362
|
|
|
1362
1363
|
customer_result = Braintree::Customer.create()
|
|
1363
1364
|
|
|
@@ -1373,6 +1374,13 @@ describe Braintree::PaymentMethod do
|
|
|
1373
1374
|
@granting_gateway.payment_method.grant("not_a_real_token", false)
|
|
1374
1375
|
end.to raise_error
|
|
1375
1376
|
end
|
|
1377
|
+
|
|
1378
|
+
it "returns a valid nonce with no options set" do
|
|
1379
|
+
expect do
|
|
1380
|
+
grant_result = @granting_gateway.payment_method.grant(@credit_card.token)
|
|
1381
|
+
grant_result.should be_success
|
|
1382
|
+
end
|
|
1383
|
+
end
|
|
1376
1384
|
end
|
|
1377
1385
|
|
|
1378
1386
|
describe "self.revoke" do
|
|
@@ -1383,7 +1391,21 @@ describe Braintree::PaymentMethod do
|
|
|
1383
1391
|
end
|
|
1384
1392
|
|
|
1385
1393
|
it "renders a granted nonce useless" do
|
|
1386
|
-
grant_result = @granting_gateway.payment_method.grant(@credit_card.token
|
|
1394
|
+
grant_result = @granting_gateway.payment_method.grant(@credit_card.token)
|
|
1395
|
+
revoke_result = @granting_gateway.payment_method.revoke(@credit_card.token)
|
|
1396
|
+
revoke_result.should be_success
|
|
1397
|
+
|
|
1398
|
+
customer_result = Braintree::Customer.create()
|
|
1399
|
+
|
|
1400
|
+
result = Braintree::PaymentMethod.create(
|
|
1401
|
+
:customer_id => customer_result.customer.id,
|
|
1402
|
+
:payment_method_nonce => grant_result.payment_method_nonce.nonce
|
|
1403
|
+
)
|
|
1404
|
+
result.should_not be_success
|
|
1405
|
+
end
|
|
1406
|
+
|
|
1407
|
+
it "renders a granted nonce obtained uisng options hash, useless" do
|
|
1408
|
+
grant_result = @granting_gateway.payment_method.grant(@credit_card.token, :allow_vaulting => true)
|
|
1387
1409
|
revoke_result = @granting_gateway.payment_method.revoke(@credit_card.token)
|
|
1388
1410
|
revoke_result.should be_success
|
|
1389
1411
|
|
|
@@ -2120,6 +2120,7 @@ describe Braintree::Transaction do
|
|
|
2120
2120
|
result.success?.should == true
|
|
2121
2121
|
result.transaction.id.should =~ /^\w{6,}$/
|
|
2122
2122
|
result.transaction.type.should == "sale"
|
|
2123
|
+
result.transaction.payment_instrument_type.should == Braintree::PaymentInstrumentType::UsBankAccount
|
|
2123
2124
|
result.transaction.amount.should == BigDecimal.new(Braintree::Test::TransactionAmounts::Authorize)
|
|
2124
2125
|
result.transaction.status.should == Braintree::Transaction::Status::SettlementPending
|
|
2125
2126
|
result.transaction.us_bank_account_details.routing_number.should == "123456789"
|
|
@@ -2127,6 +2128,7 @@ describe Braintree::Transaction do
|
|
|
2127
2128
|
result.transaction.us_bank_account_details.account_type.should == "checking"
|
|
2128
2129
|
result.transaction.us_bank_account_details.account_description.should == "PayPal Checking - 1234"
|
|
2129
2130
|
result.transaction.us_bank_account_details.account_holder_name.should == "Dan Schulman"
|
|
2131
|
+
result.transaction.us_bank_account_details.bank_name.should == "UNKNOWN"
|
|
2130
2132
|
end
|
|
2131
2133
|
|
|
2132
2134
|
it "return successful result for vaulting and transacting on vaulted token" do
|
|
@@ -4564,7 +4566,12 @@ describe Braintree::Transaction do
|
|
|
4564
4566
|
:customer_id => @customer.id,
|
|
4565
4567
|
:cardholder_name => "Adam Davis",
|
|
4566
4568
|
:number => Braintree::Test::CreditCardNumbers::Visa,
|
|
4567
|
-
:expiration_date => "05/2009"
|
|
4569
|
+
:expiration_date => "05/2009",
|
|
4570
|
+
:billing_address => {
|
|
4571
|
+
:first_name => "Adam",
|
|
4572
|
+
:last_name => "Davis",
|
|
4573
|
+
:postal_code => "95131"
|
|
4574
|
+
}
|
|
4568
4575
|
).credit_card
|
|
4569
4576
|
|
|
4570
4577
|
oauth_gateway = Braintree::Gateway.new(
|
|
@@ -4584,7 +4591,7 @@ describe Braintree::Transaction do
|
|
|
4584
4591
|
end
|
|
4585
4592
|
|
|
4586
4593
|
it "oauth app details are returned on transaction created via nonce granting" do
|
|
4587
|
-
grant_result = @granting_gateway.
|
|
4594
|
+
grant_result = @granting_gateway.payment_method.grant(@credit_card.token, false)
|
|
4588
4595
|
|
|
4589
4596
|
result = Braintree::Transaction.sale(
|
|
4590
4597
|
:payment_method_nonce => grant_result.payment_method_nonce.nonce,
|
|
@@ -4593,8 +4600,22 @@ describe Braintree::Transaction do
|
|
|
4593
4600
|
result.transaction.facilitator_details.should_not == nil
|
|
4594
4601
|
result.transaction.facilitator_details.oauth_application_client_id.should == "client_id$#{Braintree::Configuration.environment}$integration_client_id"
|
|
4595
4602
|
result.transaction.facilitator_details.oauth_application_name.should == "PseudoShop"
|
|
4603
|
+
result.transaction.billing_details.postal_code == nil
|
|
4596
4604
|
end
|
|
4597
4605
|
|
|
4606
|
+
it "billing postal code is returned on transaction created via nonce granting when specified in the grant request" do
|
|
4607
|
+
grant_result = @granting_gateway.payment_method.grant(@credit_card.token, :allow_vaulting => false, :include_billing_postal_code => true)
|
|
4608
|
+
|
|
4609
|
+
result = Braintree::Transaction.sale(
|
|
4610
|
+
:payment_method_nonce => grant_result.payment_method_nonce.nonce,
|
|
4611
|
+
:amount => Braintree::Test::TransactionAmounts::Authorize
|
|
4612
|
+
)
|
|
4613
|
+
|
|
4614
|
+
result.transaction.billing_details.postal_code == "95131"
|
|
4615
|
+
end
|
|
4616
|
+
|
|
4617
|
+
|
|
4618
|
+
|
|
4598
4619
|
it "allows transactions to be created with a shared payment method, customer, billing and shipping addresses" do
|
|
4599
4620
|
result = @granting_gateway.transaction.sale(
|
|
4600
4621
|
:shared_payment_method_token => @credit_card.token,
|
|
@@ -20,6 +20,7 @@ describe Braintree::UsBankAccount do
|
|
|
20
20
|
us_bank_account.account_type.should == "checking"
|
|
21
21
|
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
|
22
22
|
us_bank_account.account_holder_name.should == "Dan Schulman"
|
|
23
|
+
us_bank_account.bank_name.should == "UNKNOWN"
|
|
23
24
|
end
|
|
24
25
|
|
|
25
26
|
it "raises if the payment method token is not found" do
|
|
@@ -51,6 +52,7 @@ describe Braintree::UsBankAccount do
|
|
|
51
52
|
us_bank_account.account_type.should == "checking"
|
|
52
53
|
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
|
53
54
|
us_bank_account.account_holder_name.should == "Dan Schulman"
|
|
55
|
+
us_bank_account.bank_name.should == "UNKNOWN"
|
|
54
56
|
end
|
|
55
57
|
end
|
|
56
58
|
|
|
@@ -75,6 +77,7 @@ describe Braintree::UsBankAccount do
|
|
|
75
77
|
us_bank_account.account_type.should == "checking"
|
|
76
78
|
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
|
77
79
|
us_bank_account.account_holder_name.should == "Dan Schulman"
|
|
80
|
+
us_bank_account.bank_name.should == "UNKNOWN"
|
|
78
81
|
end
|
|
79
82
|
|
|
80
83
|
it "does not creates a transaction using a us bank account and returns raises an exception" do
|
|
@@ -139,6 +139,13 @@ describe Braintree::Configuration do
|
|
|
139
139
|
Braintree::Configuration.environment
|
|
140
140
|
end.to raise_error(Braintree::ConfigurationError, "Braintree::Configuration.environment needs to be set")
|
|
141
141
|
end
|
|
142
|
+
|
|
143
|
+
it "raises an exception if it is an empty string" do
|
|
144
|
+
Braintree::Configuration.instance_variable_set(:@environment, "")
|
|
145
|
+
expect do
|
|
146
|
+
Braintree::Configuration.environment
|
|
147
|
+
end.to raise_error(Braintree::ConfigurationError, "Braintree::Configuration.environment needs to be set")
|
|
148
|
+
end
|
|
142
149
|
end
|
|
143
150
|
|
|
144
151
|
describe "self.gateway" do
|
|
@@ -200,6 +207,13 @@ describe Braintree::Configuration do
|
|
|
200
207
|
Braintree::Configuration.merchant_id
|
|
201
208
|
end.to raise_error(Braintree::ConfigurationError, "Braintree::Configuration.merchant_id needs to be set")
|
|
202
209
|
end
|
|
210
|
+
|
|
211
|
+
it "raises an exception if it is an empty string" do
|
|
212
|
+
Braintree::Configuration.instance_variable_set(:@merchant_id, "")
|
|
213
|
+
expect do
|
|
214
|
+
Braintree::Configuration.merchant_id
|
|
215
|
+
end.to raise_error(Braintree::ConfigurationError, "Braintree::Configuration.merchant_id needs to be set")
|
|
216
|
+
end
|
|
203
217
|
end
|
|
204
218
|
|
|
205
219
|
describe "self.public_key" do
|
|
@@ -209,6 +223,13 @@ describe Braintree::Configuration do
|
|
|
209
223
|
Braintree::Configuration.public_key
|
|
210
224
|
end.to raise_error(Braintree::ConfigurationError, "Braintree::Configuration.public_key needs to be set")
|
|
211
225
|
end
|
|
226
|
+
|
|
227
|
+
it "raises an exception if it is an empty string" do
|
|
228
|
+
Braintree::Configuration.instance_variable_set(:@public_key, "")
|
|
229
|
+
expect do
|
|
230
|
+
Braintree::Configuration.public_key
|
|
231
|
+
end.to raise_error(Braintree::ConfigurationError, "Braintree::Configuration.public_key needs to be set")
|
|
232
|
+
end
|
|
212
233
|
end
|
|
213
234
|
|
|
214
235
|
describe "self.private_key" do
|
|
@@ -218,6 +239,13 @@ describe Braintree::Configuration do
|
|
|
218
239
|
Braintree::Configuration.private_key
|
|
219
240
|
end.to raise_error(Braintree::ConfigurationError, "Braintree::Configuration.private_key needs to be set")
|
|
220
241
|
end
|
|
242
|
+
|
|
243
|
+
it "raises an exception if it is an empty string" do
|
|
244
|
+
Braintree::Configuration.instance_variable_set(:@private_key, "")
|
|
245
|
+
expect do
|
|
246
|
+
Braintree::Configuration.private_key
|
|
247
|
+
end.to raise_error(Braintree::ConfigurationError, "Braintree::Configuration.private_key needs to be set")
|
|
248
|
+
end
|
|
221
249
|
end
|
|
222
250
|
|
|
223
251
|
describe "self.port" do
|
|
@@ -40,7 +40,7 @@ describe Braintree::PaymentMethod do
|
|
|
40
40
|
describe "self.grant" do
|
|
41
41
|
it "raises error if passed empty string" do
|
|
42
42
|
expect do
|
|
43
|
-
Braintree::PaymentMethod.grant(""
|
|
43
|
+
Braintree::PaymentMethod.grant("")
|
|
44
44
|
end.to raise_error(ArgumentError)
|
|
45
45
|
end
|
|
46
46
|
|
|
@@ -59,9 +59,24 @@ describe Braintree::PaymentMethod do
|
|
|
59
59
|
it "does not raise an error if token does not respond to strip" do
|
|
60
60
|
Braintree::Http.stub(:new).and_return double.as_null_object
|
|
61
61
|
expect do
|
|
62
|
-
Braintree::PaymentMethod.grant(8675309, false)
|
|
62
|
+
Braintree::PaymentMethod.grant(8675309, :allow_vaulting => false)
|
|
63
63
|
end.to_not raise_error
|
|
64
64
|
end
|
|
65
|
+
|
|
66
|
+
it "accepts all options as hash map" do
|
|
67
|
+
Braintree::Http.stub(:new).and_return double.as_null_object
|
|
68
|
+
expect do
|
|
69
|
+
Braintree::PaymentMethod.grant("$dummyToken", :allow_vaulting => false, :include_billing_postal_code => true)
|
|
70
|
+
end.to_not raise_error
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
it "accepts only token as parameter" do
|
|
74
|
+
Braintree::Http.stub(:new).and_return double.as_null_object
|
|
75
|
+
expect do
|
|
76
|
+
Braintree::PaymentMethod.grant("$dummyToken")
|
|
77
|
+
end.to_not raise_error
|
|
78
|
+
end
|
|
79
|
+
|
|
65
80
|
end
|
|
66
81
|
|
|
67
82
|
describe "self.revoke" do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: braintree
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.68.
|
|
4
|
+
version: 2.68.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Braintree
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-10-
|
|
11
|
+
date: 2016-10-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: builder
|
|
@@ -32,210 +32,210 @@ extra_rdoc_files: []
|
|
|
32
32
|
files:
|
|
33
33
|
- README.rdoc
|
|
34
34
|
- LICENSE
|
|
35
|
-
- lib/braintree/
|
|
36
|
-
- lib/braintree/disbursement.rb
|
|
37
|
-
- lib/braintree/credit_card.rb
|
|
38
|
-
- lib/braintree/subscription/status_details.rb
|
|
39
|
-
- lib/braintree/payment_method_nonce.rb
|
|
40
|
-
- lib/braintree/error_codes.rb
|
|
41
|
-
- lib/braintree/client_token_gateway.rb
|
|
42
|
-
- lib/braintree/credit_card_verification_gateway.rb
|
|
35
|
+
- lib/braintree/paypal_account_gateway.rb
|
|
43
36
|
- lib/braintree/payment_method.rb
|
|
44
|
-
- lib/braintree/
|
|
45
|
-
- lib/braintree/discount_gateway.rb
|
|
46
|
-
- lib/braintree/transaction_search.rb
|
|
47
|
-
- lib/braintree/us_bank_account.rb
|
|
48
|
-
- lib/braintree/plan_gateway.rb
|
|
49
|
-
- lib/braintree/util.rb
|
|
50
|
-
- lib/braintree/paypal_account.rb
|
|
51
|
-
- lib/braintree/advanced_search.rb
|
|
52
|
-
- lib/braintree/descriptor.rb
|
|
53
|
-
- lib/braintree/android_pay_card.rb
|
|
54
|
-
- lib/braintree/transparent_redirect.rb
|
|
55
|
-
- lib/braintree/test/credit_card.rb
|
|
56
|
-
- lib/braintree/test/nonce.rb
|
|
57
|
-
- lib/braintree/test/venmo_sdk.rb
|
|
58
|
-
- lib/braintree/test/transaction_amounts.rb
|
|
59
|
-
- lib/braintree/test/merchant_account.rb
|
|
60
|
-
- lib/braintree/three_d_secure_info.rb
|
|
61
|
-
- lib/braintree/base_module.rb
|
|
37
|
+
- lib/braintree/risk_data.rb
|
|
62
38
|
- lib/braintree/credentials_parser.rb
|
|
63
|
-
- lib/braintree/
|
|
64
|
-
- lib/braintree/digest.rb
|
|
65
|
-
- lib/braintree/settlement_batch_summary_gateway.rb
|
|
66
|
-
- lib/braintree/test_transaction.rb
|
|
67
|
-
- lib/braintree/subscription.rb
|
|
39
|
+
- lib/braintree/credit_card_verification_gateway.rb
|
|
68
40
|
- lib/braintree/credit_card_gateway.rb
|
|
69
|
-
- lib/braintree/
|
|
70
|
-
- lib/braintree/
|
|
71
|
-
- lib/braintree/
|
|
72
|
-
- lib/braintree/
|
|
73
|
-
- lib/braintree/paypal_account_gateway.rb
|
|
74
|
-
- lib/braintree/testing_gateway.rb
|
|
75
|
-
- lib/braintree/webhook_notification_gateway.rb
|
|
41
|
+
- lib/braintree/transaction_search.rb
|
|
42
|
+
- lib/braintree/dispute.rb
|
|
43
|
+
- lib/braintree/settlement_batch_summary_gateway.rb
|
|
44
|
+
- lib/braintree/merchant_gateway.rb
|
|
76
45
|
- lib/braintree/webhook_notification.rb
|
|
77
|
-
- lib/braintree/
|
|
78
|
-
- lib/braintree/
|
|
79
|
-
- lib/braintree/signature_service.rb
|
|
80
|
-
- lib/braintree/merchant_account/individual_details.rb
|
|
81
|
-
- lib/braintree/merchant_account/funding_details.rb
|
|
82
|
-
- lib/braintree/merchant_account/business_details.rb
|
|
83
|
-
- lib/braintree/merchant_account/address_details.rb
|
|
84
|
-
- lib/braintree/subscription_search.rb
|
|
85
|
-
- lib/braintree/settlement_batch_summary.rb
|
|
86
|
-
- lib/braintree/webhook_testing_gateway.rb
|
|
46
|
+
- lib/braintree/us_bank_account.rb
|
|
47
|
+
- lib/braintree/address/country_names.rb
|
|
87
48
|
- lib/braintree/coinbase_account.rb
|
|
88
|
-
- lib/braintree/
|
|
89
|
-
- lib/braintree/
|
|
90
|
-
- lib/braintree/
|
|
91
|
-
- lib/braintree/
|
|
92
|
-
- lib/braintree/
|
|
93
|
-
- lib/braintree/
|
|
49
|
+
- lib/braintree/webhook_notification_gateway.rb
|
|
50
|
+
- lib/braintree/client_token_gateway.rb
|
|
51
|
+
- lib/braintree/payment_method_nonce_gateway.rb
|
|
52
|
+
- lib/braintree/merchant_account.rb
|
|
53
|
+
- lib/braintree/venmo_account.rb
|
|
54
|
+
- lib/braintree/subscription.rb
|
|
94
55
|
- lib/braintree/merchant.rb
|
|
56
|
+
- lib/braintree/payment_method_gateway.rb
|
|
57
|
+
- lib/braintree/credit_card.rb
|
|
58
|
+
- lib/braintree/plan.rb
|
|
59
|
+
- lib/braintree/error_result.rb
|
|
95
60
|
- lib/braintree/sha256_digest.rb
|
|
96
|
-
- lib/braintree/customer_gateway.rb
|
|
97
|
-
- lib/braintree/xml/rexml.rb
|
|
98
|
-
- lib/braintree/xml/libxml.rb
|
|
99
|
-
- lib/braintree/xml/generator.rb
|
|
100
|
-
- lib/braintree/xml/parser.rb
|
|
101
|
-
- lib/braintree/address/country_names.rb
|
|
102
|
-
- lib/braintree/transaction_gateway.rb
|
|
103
|
-
- lib/braintree/dispute.rb
|
|
104
|
-
- lib/braintree/exceptions.rb
|
|
105
61
|
- lib/braintree/payment_instrument_type.rb
|
|
62
|
+
- lib/braintree/settlement_batch_summary.rb
|
|
63
|
+
- lib/braintree/europe_bank_account.rb
|
|
64
|
+
- lib/braintree/base_module.rb
|
|
65
|
+
- lib/braintree/errors.rb
|
|
66
|
+
- lib/braintree/transparent_redirect.rb
|
|
67
|
+
- lib/braintree/gateway.rb
|
|
68
|
+
- lib/braintree/customer_gateway.rb
|
|
69
|
+
- lib/braintree/webhook_testing_gateway.rb
|
|
70
|
+
- lib/braintree/validation_error_collection.rb
|
|
71
|
+
- lib/braintree/successful_result.rb
|
|
106
72
|
- lib/braintree/transparent_redirect_gateway.rb
|
|
107
|
-
- lib/braintree/configuration.rb
|
|
108
73
|
- lib/braintree/credit_card_verification_search.rb
|
|
74
|
+
- lib/braintree/three_d_secure_info.rb
|
|
75
|
+
- lib/braintree/amex_express_checkout_card.rb
|
|
76
|
+
- lib/braintree/xml/generator.rb
|
|
77
|
+
- lib/braintree/xml/rexml.rb
|
|
78
|
+
- lib/braintree/xml/parser.rb
|
|
79
|
+
- lib/braintree/xml/libxml.rb
|
|
80
|
+
- lib/braintree/resource_collection.rb
|
|
81
|
+
- lib/braintree/client_token.rb
|
|
82
|
+
- lib/braintree/subscription_gateway.rb
|
|
83
|
+
- lib/braintree/customer.rb
|
|
84
|
+
- lib/braintree/facilitator_details.rb
|
|
85
|
+
- lib/braintree/europe_bank_account_gateway.rb
|
|
86
|
+
- lib/braintree/descriptor.rb
|
|
87
|
+
- lib/braintree/apple_pay_card.rb
|
|
88
|
+
- lib/braintree/advanced_search.rb
|
|
89
|
+
- lib/braintree/testing_gateway.rb
|
|
109
90
|
- lib/braintree/http.rb
|
|
110
|
-
- lib/braintree/
|
|
91
|
+
- lib/braintree/oauth_credentials.rb
|
|
92
|
+
- lib/braintree/validation_error.rb
|
|
93
|
+
- lib/braintree/credit_card_verification.rb
|
|
94
|
+
- lib/braintree/dispute/transaction_details.rb
|
|
95
|
+
- lib/braintree/plan_gateway.rb
|
|
96
|
+
- lib/braintree/configuration.rb
|
|
97
|
+
- lib/braintree/modification.rb
|
|
98
|
+
- lib/braintree/add_on_gateway.rb
|
|
99
|
+
- lib/braintree/subscription/status_details.rb
|
|
100
|
+
- lib/braintree/disbursement.rb
|
|
101
|
+
- lib/braintree/address_gateway.rb
|
|
102
|
+
- lib/braintree/customer_search.rb
|
|
103
|
+
- lib/braintree/subscription_search.rb
|
|
104
|
+
- lib/braintree/transaction.rb
|
|
105
|
+
- lib/braintree/account_updater_daily_report.rb
|
|
106
|
+
- lib/braintree/merchant_account/address_details.rb
|
|
107
|
+
- lib/braintree/merchant_account/funding_details.rb
|
|
108
|
+
- lib/braintree/merchant_account/business_details.rb
|
|
109
|
+
- lib/braintree/merchant_account/individual_details.rb
|
|
110
|
+
- lib/braintree/settlement_batch.rb
|
|
111
|
+
- lib/braintree/transaction_gateway.rb
|
|
112
|
+
- lib/braintree/test/nonce.rb
|
|
113
|
+
- lib/braintree/test/merchant_account.rb
|
|
114
|
+
- lib/braintree/test/credit_card.rb
|
|
115
|
+
- lib/braintree/test/venmo_sdk.rb
|
|
116
|
+
- lib/braintree/test/transaction_amounts.rb
|
|
117
|
+
- lib/braintree/util.rb
|
|
118
|
+
- lib/braintree/address.rb
|
|
119
|
+
- lib/braintree/digest.rb
|
|
120
|
+
- lib/braintree/transaction/disbursement_details.rb
|
|
121
|
+
- lib/braintree/transaction/address_details.rb
|
|
111
122
|
- lib/braintree/transaction/subscription_details.rb
|
|
112
|
-
- lib/braintree/transaction/apple_pay_details.rb
|
|
113
|
-
- lib/braintree/transaction/coinbase_details.rb
|
|
114
|
-
- lib/braintree/transaction/status_details.rb
|
|
115
|
-
- lib/braintree/transaction/android_pay_details.rb
|
|
116
123
|
- lib/braintree/transaction/us_bank_account_details.rb
|
|
117
|
-
- lib/braintree/transaction/
|
|
118
|
-
- lib/braintree/transaction/disbursement_details.rb
|
|
124
|
+
- lib/braintree/transaction/amex_express_checkout_details.rb
|
|
119
125
|
- lib/braintree/transaction/customer_details.rb
|
|
126
|
+
- lib/braintree/transaction/credit_card_details.rb
|
|
127
|
+
- lib/braintree/transaction/android_pay_details.rb
|
|
128
|
+
- lib/braintree/transaction/status_details.rb
|
|
129
|
+
- lib/braintree/transaction/coinbase_details.rb
|
|
130
|
+
- lib/braintree/transaction/apple_pay_details.rb
|
|
120
131
|
- lib/braintree/transaction/venmo_account_details.rb
|
|
121
|
-
- lib/braintree/transaction/address_details.rb
|
|
122
132
|
- lib/braintree/transaction/paypal_details.rb
|
|
123
|
-
- lib/braintree/errors.rb
|
|
124
|
-
- lib/braintree/transaction.rb
|
|
125
|
-
- lib/braintree/dispute/transaction_details.rb
|
|
126
|
-
- lib/braintree/merchant_account_gateway.rb
|
|
127
|
-
- lib/braintree/successful_result.rb
|
|
128
|
-
- lib/braintree/webhook_testing.rb
|
|
129
133
|
- lib/braintree/add_on.rb
|
|
130
|
-
- lib/braintree/modification.rb
|
|
131
|
-
- lib/braintree/payment_method_nonce_gateway.rb
|
|
132
|
-
- lib/braintree/merchant_account.rb
|
|
133
|
-
- lib/braintree/facilitator_details.rb
|
|
134
|
-
- lib/braintree/amex_express_checkout_card.rb
|
|
135
|
-
- lib/braintree/oauth_credentials.rb
|
|
136
|
-
- lib/braintree/credit_card_verification.rb
|
|
137
|
-
- lib/braintree/settlement_batch.rb
|
|
138
|
-
- lib/braintree/resource_collection.rb
|
|
139
134
|
- lib/braintree/discount.rb
|
|
140
|
-
- lib/braintree/
|
|
141
|
-
- lib/braintree/
|
|
142
|
-
- lib/braintree/
|
|
143
|
-
- lib/braintree/
|
|
144
|
-
- lib/braintree/
|
|
145
|
-
- lib/braintree/
|
|
135
|
+
- lib/braintree/discount_gateway.rb
|
|
136
|
+
- lib/braintree/signature_service.rb
|
|
137
|
+
- lib/braintree/merchant_account_gateway.rb
|
|
138
|
+
- lib/braintree/webhook_testing.rb
|
|
139
|
+
- lib/braintree/paypal_account.rb
|
|
140
|
+
- lib/braintree/payment_method_nonce.rb
|
|
141
|
+
- lib/braintree/android_pay_card.rb
|
|
142
|
+
- lib/braintree/unknown_payment_method.rb
|
|
143
|
+
- lib/braintree/test_transaction.rb
|
|
144
|
+
- lib/braintree/error_codes.rb
|
|
146
145
|
- lib/braintree/version.rb
|
|
147
|
-
- lib/braintree/
|
|
148
|
-
- lib/braintree/
|
|
149
|
-
- lib/braintree/
|
|
146
|
+
- lib/braintree/oauth_gateway.rb
|
|
147
|
+
- lib/braintree/us_bank_account_gateway.rb
|
|
148
|
+
- lib/braintree/xml.rb
|
|
149
|
+
- lib/braintree/exceptions.rb
|
|
150
150
|
- lib/braintree.rb
|
|
151
151
|
- lib/ssl/securetrust_ca.crt
|
|
152
152
|
- lib/ssl/api_braintreegateway_com.ca.crt
|
|
153
|
-
- spec/
|
|
154
|
-
- spec/
|
|
155
|
-
- spec/client.sh
|
|
156
|
-
- spec/ssl/privateKey.key
|
|
157
|
-
- spec/ssl/certificate.crt
|
|
158
|
-
- spec/ssl/geotrust_global.crt
|
|
159
|
-
- spec/integration/braintree/address_spec.rb
|
|
160
|
-
- spec/integration/braintree/plan_spec.rb
|
|
161
|
-
- spec/integration/braintree/us_bank_account_spec.rb
|
|
162
|
-
- spec/integration/braintree/test_transaction_spec.rb
|
|
163
|
-
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
|
164
|
-
- spec/integration/braintree/transaction_spec.rb
|
|
165
|
-
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
|
166
|
-
- spec/integration/braintree/transaction_search_spec.rb
|
|
167
|
-
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
|
168
|
-
- spec/integration/braintree/disbursement_spec.rb
|
|
169
|
-
- spec/integration/braintree/transparent_redirect_spec.rb
|
|
170
|
-
- spec/integration/braintree/add_on_spec.rb
|
|
171
|
-
- spec/integration/braintree/paypal_account_spec.rb
|
|
172
|
-
- spec/integration/braintree/credit_card_verification_spec.rb
|
|
173
|
-
- spec/integration/braintree/oauth_spec.rb
|
|
174
|
-
- spec/integration/braintree/http_spec.rb
|
|
175
|
-
- spec/integration/braintree/error_codes_spec.rb
|
|
176
|
-
- spec/integration/braintree/credit_card_spec.rb
|
|
177
|
-
- spec/integration/braintree/customer_search_spec.rb
|
|
178
|
-
- spec/integration/braintree/client_api/client_token_spec.rb
|
|
179
|
-
- spec/integration/braintree/client_api/spec_helper.rb
|
|
180
|
-
- spec/integration/braintree/payment_method_nonce_spec.rb
|
|
181
|
-
- spec/integration/braintree/payment_method_spec.rb
|
|
182
|
-
- spec/integration/braintree/coinbase_spec.rb
|
|
183
|
-
- spec/integration/braintree/merchant_account_spec.rb
|
|
184
|
-
- spec/integration/braintree/advanced_search_spec.rb
|
|
185
|
-
- spec/integration/braintree/merchant_spec.rb
|
|
186
|
-
- spec/integration/braintree/discount_spec.rb
|
|
187
|
-
- spec/integration/braintree/customer_spec.rb
|
|
188
|
-
- spec/integration/braintree/subscription_spec.rb
|
|
189
|
-
- spec/integration/spec_helper.rb
|
|
190
|
-
- spec/unit/braintree/address_spec.rb
|
|
191
|
-
- spec/unit/braintree/validation_error_spec.rb
|
|
192
|
-
- spec/unit/braintree/sha256_digest_spec.rb
|
|
193
|
-
- spec/unit/braintree/validation_error_collection_spec.rb
|
|
194
|
-
- spec/unit/braintree/risk_data_spec.rb
|
|
153
|
+
- spec/unit/braintree_spec.rb
|
|
154
|
+
- spec/unit/spec_helper.rb
|
|
195
155
|
- spec/unit/braintree/dispute_spec.rb
|
|
196
|
-
- spec/unit/braintree/configuration_spec.rb
|
|
197
156
|
- spec/unit/braintree/credentials_parser_spec.rb
|
|
198
157
|
- spec/unit/braintree/webhook_notification_spec.rb
|
|
199
|
-
- spec/unit/braintree/
|
|
200
|
-
- spec/unit/braintree/transaction_search_spec.rb
|
|
201
|
-
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
|
202
|
-
- spec/unit/braintree/client_token_spec.rb
|
|
203
|
-
- spec/unit/braintree/disbursement_spec.rb
|
|
204
|
-
- spec/unit/braintree/signature_service_spec.rb
|
|
205
|
-
- spec/unit/braintree/transparent_redirect_spec.rb
|
|
206
|
-
- spec/unit/braintree/successful_result_spec.rb
|
|
158
|
+
- spec/unit/braintree/credit_card_spec.rb
|
|
207
159
|
- spec/unit/braintree/subscription_search_spec.rb
|
|
208
|
-
- spec/unit/braintree/
|
|
209
|
-
- spec/unit/braintree/paypal_account_spec.rb
|
|
160
|
+
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
|
210
161
|
- spec/unit/braintree/three_d_secure_info_spec.rb
|
|
211
|
-
- spec/unit/braintree/credit_card_verification_spec.rb
|
|
212
162
|
- spec/unit/braintree/http_spec.rb
|
|
213
|
-
- spec/unit/braintree/
|
|
214
|
-
- spec/unit/braintree/
|
|
215
|
-
- spec/unit/braintree/
|
|
216
|
-
- spec/unit/braintree/
|
|
163
|
+
- spec/unit/braintree/successful_result_spec.rb
|
|
164
|
+
- spec/unit/braintree/customer_spec.rb
|
|
165
|
+
- spec/unit/braintree/error_result_spec.rb
|
|
166
|
+
- spec/unit/braintree/transparent_redirect_spec.rb
|
|
167
|
+
- spec/unit/braintree/disbursement_spec.rb
|
|
168
|
+
- spec/unit/braintree/sha256_digest_spec.rb
|
|
169
|
+
- spec/unit/braintree/subscription_spec.rb
|
|
170
|
+
- spec/unit/braintree/validation_error_collection_spec.rb
|
|
217
171
|
- spec/unit/braintree/xml/parser_spec.rb
|
|
218
|
-
- spec/unit/braintree/
|
|
172
|
+
- spec/unit/braintree/xml/libxml_spec.rb
|
|
173
|
+
- spec/unit/braintree/xml/rexml_spec.rb
|
|
174
|
+
- spec/unit/braintree/transaction_spec.rb
|
|
175
|
+
- spec/unit/braintree/signature_service_spec.rb
|
|
176
|
+
- spec/unit/braintree/transaction_search_spec.rb
|
|
177
|
+
- spec/unit/braintree/validation_error_spec.rb
|
|
178
|
+
- spec/unit/braintree/address_spec.rb
|
|
179
|
+
- spec/unit/braintree/configuration_spec.rb
|
|
219
180
|
- spec/unit/braintree/resource_collection_spec.rb
|
|
220
|
-
- spec/unit/braintree/
|
|
181
|
+
- spec/unit/braintree/merchant_account_spec.rb
|
|
182
|
+
- spec/unit/braintree/apple_pay_card_spec.rb
|
|
183
|
+
- spec/unit/braintree/base_module_spec.rb
|
|
184
|
+
- spec/unit/braintree/risk_data_spec.rb
|
|
185
|
+
- spec/unit/braintree/digest_spec.rb
|
|
186
|
+
- spec/unit/braintree/unknown_payment_method_spec.rb
|
|
221
187
|
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
|
222
188
|
- spec/unit/braintree/transaction/customer_details_spec.rb
|
|
223
189
|
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
|
224
|
-
- spec/unit/braintree/
|
|
225
|
-
- spec/unit/braintree/
|
|
226
|
-
- spec/unit/braintree/
|
|
227
|
-
- spec/unit/braintree/merchant_account_spec.rb
|
|
228
|
-
- spec/unit/braintree/error_result_spec.rb
|
|
190
|
+
- spec/unit/braintree/errors_spec.rb
|
|
191
|
+
- spec/unit/braintree/paypal_account_spec.rb
|
|
192
|
+
- spec/unit/braintree/client_token_spec.rb
|
|
229
193
|
- spec/unit/braintree/modification_spec.rb
|
|
230
|
-
- spec/unit/braintree/
|
|
231
|
-
- spec/unit/braintree/
|
|
232
|
-
- spec/unit/braintree/
|
|
233
|
-
- spec/unit/
|
|
234
|
-
- spec/unit/spec_helper.rb
|
|
235
|
-
- spec/spec_helper.rb
|
|
194
|
+
- spec/unit/braintree/payment_method_spec.rb
|
|
195
|
+
- spec/unit/braintree/xml_spec.rb
|
|
196
|
+
- spec/unit/braintree/credit_card_verification_spec.rb
|
|
197
|
+
- spec/unit/braintree/util_spec.rb
|
|
236
198
|
- spec/oauth_test_helper.rb
|
|
237
|
-
- spec/
|
|
199
|
+
- spec/httpsd.pid
|
|
200
|
+
- spec/integration/spec_helper.rb
|
|
201
|
+
- spec/integration/braintree/payment_method_nonce_spec.rb
|
|
202
|
+
- spec/integration/braintree/oauth_spec.rb
|
|
203
|
+
- spec/integration/braintree/advanced_search_spec.rb
|
|
204
|
+
- spec/integration/braintree/credit_card_spec.rb
|
|
205
|
+
- spec/integration/braintree/error_codes_spec.rb
|
|
206
|
+
- spec/integration/braintree/us_bank_account_spec.rb
|
|
207
|
+
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
|
208
|
+
- spec/integration/braintree/plan_spec.rb
|
|
209
|
+
- spec/integration/braintree/http_spec.rb
|
|
210
|
+
- spec/integration/braintree/customer_spec.rb
|
|
211
|
+
- spec/integration/braintree/merchant_spec.rb
|
|
212
|
+
- spec/integration/braintree/transparent_redirect_spec.rb
|
|
213
|
+
- spec/integration/braintree/disbursement_spec.rb
|
|
214
|
+
- spec/integration/braintree/subscription_spec.rb
|
|
215
|
+
- spec/integration/braintree/customer_search_spec.rb
|
|
216
|
+
- spec/integration/braintree/transaction_spec.rb
|
|
217
|
+
- spec/integration/braintree/add_on_spec.rb
|
|
218
|
+
- spec/integration/braintree/transaction_search_spec.rb
|
|
219
|
+
- spec/integration/braintree/address_spec.rb
|
|
220
|
+
- spec/integration/braintree/merchant_account_spec.rb
|
|
221
|
+
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
|
222
|
+
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
|
223
|
+
- spec/integration/braintree/paypal_account_spec.rb
|
|
224
|
+
- spec/integration/braintree/test_transaction_spec.rb
|
|
225
|
+
- spec/integration/braintree/discount_spec.rb
|
|
226
|
+
- spec/integration/braintree/coinbase_spec.rb
|
|
227
|
+
- spec/integration/braintree/payment_method_spec.rb
|
|
228
|
+
- spec/integration/braintree/credit_card_verification_spec.rb
|
|
229
|
+
- spec/integration/braintree/client_api/spec_helper.rb
|
|
230
|
+
- spec/integration/braintree/client_api/client_token_spec.rb
|
|
231
|
+
- spec/ssl/privateKey.key
|
|
232
|
+
- spec/ssl/certificate.crt
|
|
233
|
+
- spec/ssl/geotrust_global.crt
|
|
238
234
|
- spec/spec.opts
|
|
235
|
+
- spec/spec_helper.rb
|
|
236
|
+
- spec/client.sh
|
|
237
|
+
- spec/hacks/tcp_socket.rb
|
|
238
|
+
- spec/script/httpsd.rb
|
|
239
239
|
- braintree.gemspec
|
|
240
240
|
homepage: http://www.braintreepayments.com/
|
|
241
241
|
licenses:
|