Sha256: 063143c2c2dd8beb453d2dc7760e2e78994646afdc6de63a610acdc8eca85517

Contents?: true

Size: 469 Bytes

Versions: 6

Compression:

Stored size: 469 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)
      http_client = HttpClient.new(endpoint: endpoint,
                                   provider_key: provider_key,
                                   verify_ssl: verify_ssl)
      Client.new(http_client)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
3scale-api-1.5.0 lib/3scale/api.rb
3scale-api-1.4.0 lib/3scale/api.rb
3scale-api-1.3.0 lib/3scale/api.rb
3scale-api-1.2.0 lib/3scale/api.rb
3scale-api-1.1.0 lib/3scale/api.rb
3scale-api-1.0.0 lib/3scale/api.rb