Sha256: 184cbaf3e60d10bc570aa601eed7b7e1e1bb078ab0d4b8422fe90978fd202c69

Contents?: true

Size: 364 Bytes

Versions: 6

Compression:

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
3scale-api-0.1.5 lib/3scale/api.rb
3scale-api-0.1.4 lib/3scale/api.rb
3scale-api-0.1.3 lib/3scale/api.rb
3scale-api-0.1.2 lib/3scale/api.rb
3scale-api-0.1.1 lib/3scale/api.rb
3scale-api-0.1.0 lib/3scale/api.rb