Sha256: a0c5b99a3cc20e158e9b18d862426d91fab7cbf1a24af39e606d087e987d1155

Contents?: true

Size: 441 Bytes

Versions: 9

Compression:

Stored size: 441 Bytes

Contents

require '3scale/api/version'

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

9 entries across 9 versions & 1 rubygems

Version Path
3scale-api-0.6.0 lib/3scale/api.rb
3scale-api-0.5.0 lib/3scale/api.rb
3scale-api-0.4.0 lib/3scale/api.rb
3scale-api-0.3.0 lib/3scale/api.rb
3scale-api-0.2.0 lib/3scale/api.rb
3scale-api-0.1.9 lib/3scale/api.rb
3scale-api-0.1.8 lib/3scale/api.rb
3scale-api-0.1.7 lib/3scale/api.rb
3scale-api-0.1.6 lib/3scale/api.rb