# File lib/braintree/europe_bank_account_gateway.rb, line 8 def find(token) raise ArgumentError if token.nil? || token.to_s.strip == "" response = @config.http.get "/payment_methods/europe_bank_account/#{token}" EuropeBankAccount._new(@gateway, response[:europe_bank_account]) rescue NotFoundError raise NotFoundError, "payment method with token #{token.inspect} not found" end