Sha256: ac9fd1d484d7cd33dc789a66771df3bf5ea71aba04aedc491a0675e11958077b

Contents?: true

Size: 285 Bytes

Versions: 7

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

require_relative 'my_errors'

# An usage example of the `my_api_client`.
class ApplicationApiClient < MyApiClient::Base
  endpoint ENV['MY_API_ENDPOINT']

  self.logger = ::Logger.new(nil)

  http_open_timeout 5.seconds
  http_read_timeout 5.seconds
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
my_api_client-0.22.0 example/api_clients/application_api_client.rb
my_api_client-0.21.0 example/api_clients/application_api_client.rb
my_api_client-0.20.0 example/api_clients/application_api_client.rb
my_api_client-0.19.0 example/api_clients/application_api_client.rb
my_api_client-0.18.0 example/api_clients/application_api_client.rb
my_api_client-0.17.0 example/api_clients/application_api_client.rb
my_api_client-0.16.1 example/api_clients/application_api_client.rb