Sha256: 0d7db9564398439584c415660c49d77c9cb4c1d2e33cfb9b718d5b59734677fd

Contents?: true

Size: 715 Bytes

Versions: 7

Compression:

Stored size: 715 Bytes

Contents

module AddressFinder
  class Configuration
    attr_accessor :api_key
    attr_accessor :api_secret
    attr_accessor :verification_version
    attr_accessor :hostname
    attr_accessor :port
    attr_accessor :proxy_host
    attr_accessor :proxy_port
    attr_accessor :proxy_user
    attr_accessor :proxy_password
    attr_accessor :timeout
    attr_accessor :default_country
    attr_accessor :domain
    attr_accessor :retries
    attr_accessor :retry_delay

    def initialize
      self.hostname = 'api.addressfinder.io'
      self.port = 443
      self.timeout = 10
      self.retries = 12
      self.retry_delay = 5
      self.default_country = 'nz'
      self.verification_version = 'v1'
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
addressfinder-1.11.0 lib/addressfinder/configuration.rb
addressfinder-1.10.1 lib/addressfinder/configuration.rb
addressfinder-1.10.0 lib/addressfinder/configuration.rb
addressfinder-1.9.1 lib/addressfinder/configuration.rb
addressfinder-1.9.0 lib/addressfinder/configuration.rb
addressfinder-1.8.1 lib/addressfinder/configuration.rb
addressfinder-1.8.0 lib/addressfinder/configuration.rb