Sha256: 26335c9d882ed4dc22f9754589c41c2c213ce8f6a36e4ef71438b8566190bfd0

Contents?: true

Size: 583 Bytes

Versions: 1

Compression:

Stored size: 583 Bytes

Contents

require '3scale/api/version'
require '3scale/api/errors'

module ThreeScale
  module API
    autoload :Client, '3scale/api/client'
    autoload :HttpClient, '3scale/api/http_client'

    def self.new(endpoint:, provider_key:, verify_ssl: true, keep_alive: false)
      http_client = HttpClient.new(endpoint: endpoint,
                                   provider_key: provider_key,
                                   verify_ssl: verify_ssl,
                                   keep_alive: keep_alive,
                                  )
      Client.new(http_client)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
3scale-api-1.6.0 lib/3scale/api.rb