Sha256: 04a4e5eca16f5e47eac917cb648293c47cf7ecbc5f98e8d98ae71a80acd2ac44

Contents?: true

Size: 705 Bytes

Versions: 20

Compression:

Stored size: 705 Bytes

Contents

require 'faraday'
require 'faraday/multipart'


require_relative "test_helper"

# Internal: The test for API Client
class APIClientTest < PlaidTest
  def test_api_client_exposes_farday_connection
    configuration = Plaid::Configuration.new
    configuration.server_index = Plaid::Configuration::Environment["sandbox"]
    configuration.timeout = NETWORK_TIMEOUT
    configuration.api_key["PLAID-CLIENT-ID"] = ENV["PLAID_RUBY_CLIENT_ID"]
    configuration.api_key["PLAID-SECRET"] = ENV["PLAID_RUBY_SECRET"]
    configuration.api_key["Plaid-Version"] = "2020-09-14"

    api_client = Plaid::ApiClient.new(
      configuration
    )

    assert_kind_of(Faraday::Connection, api_client.connection)
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
plaid-24.4.0 test/test_api_client.rb
plaid-24.3.0 test/test_api_client.rb
plaid-24.2.0 test/test_api_client.rb
plaid-24.0.0 test/test_api_client.rb
plaid-23.0.0 test/test_api_client.rb
plaid-22.0.0 test/test_api_client.rb
plaid-21.3.0 test/test_api_client.rb
plaid-21.2.0 test/test_api_client.rb
plaid-21.1.0 test/test_api_client.rb
plaid-21.0.0 test/test_api_client.rb
plaid-20.0.0 test/test_api_client.rb
plaid-19.1.0 test/test_api_client.rb
plaid-19.0.0 test/test_api_client.rb
plaid-18.1.0 test/test_api_client.rb
plaid-18.0.0 test/test_api_client.rb
plaid-17.4.0 test/test_api_client.rb
plaid-17.3.0 test/test_api_client.rb
plaid-17.2.0 test/test_api_client.rb
plaid-17.1.0 test/test_api_client.rb
plaid-17.0.0 test/test_api_client.rb