Module: ThreeScale::API
- Defined in:
- lib/3scale/api.rb,
lib/3scale/api/client.rb,
lib/3scale/api/errors.rb,
lib/3scale/api/version.rb,
lib/3scale/api/http_client.rb
Defined Under Namespace
Classes: Client, HttpClient, ResponseError
Constant Summary collapse
- MAX_BACKENDS_PER_PAGE =
500
- MAX_SERVICES_PER_PAGE =
500
- VERSION =
'1.6.0'.freeze
Class Method Summary collapse
Class Method Details
.new(endpoint:, provider_key:, verify_ssl: true, keep_alive: false) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/3scale/api.rb', line 9 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 |