Sha256: 489c852c44777f794d303508ef33153905c0c667cf7309b3b63c18c1c927837e

Contents?: true

Size: 526 Bytes

Versions: 5

Compression:

Stored size: 526 Bytes

Contents

require 'dry-configurable'
require 'netbox_client_ruby/api'

module NetboxClientRuby
  extend Dry::Configurable

  MAX_SIGNED_64BIT_INT = 9_223_372_036_854_775_807

  setting :netbox do
    setting :api_base_url
    setting :auth do
      setting :token
    end
    setting :pagination do
      setting :default_limit, 50
      setting :max_limit, MAX_SIGNED_64BIT_INT
    end
  end

  setting :faraday do
    setting :adapter, :net_http
    setting :logger
    setting :request_options, open_timeout: 1, timeout: 5
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
netbox-client-ruby-0.1.0 lib/netbox_client_ruby.rb
netbox-client-ruby-0.0.4 lib/netbox_client_ruby.rb
netbox-client-ruby-0.0.3 lib/netbox_client_ruby.rb
netbox-client-ruby-0.0.2 lib/netbox_client_ruby.rb
netbox-client-ruby-0.0.1 lib/netbox_client_ruby.rb