Sha256: 0f9c701dcb47f02298c603f4013847d27ec15977c9492969d2b4d44e8c963ac6

Contents?: true

Size: 551 Bytes

Versions: 15

Compression:

Stored size: 551 Bytes

Contents

module KrakenClient
  class Configuration

    attr_accessor :api_key, :api_secret, :base_uri, :limiter_interface,
                  :api_version, :tier, :limiter, :limit_current_count

    def initialize
      @api_key             = ENV['KRAKEN_API_KEY']
      @api_secret          = ENV['KRAKEN_API_SECRET']
      @base_uri            = 'https://api.kraken.com'
      @api_version         = 0
      @limiter             = true
      @tier                = 2

      @limiter_interface ||= KrakenClient::Requests::Limiter.new(self)
    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kraken_client-1.3.0 lib/configuration.rb
kraken_client-1.2.1 lib/configuration.rb
kraken_client-1.2 lib/configuration.rb
kraken_client-1.1.5 lib/configuration.rb
kraken_client-1.1.4 lib/configuration.rb
kraken_client-1.1.3 lib/configuration.rb
kraken_client-1.1.2 lib/configuration.rb
kraken_client-1.1.1 lib/configuration.rb
kraken_client-1.1.0 lib/configuration.rb
kraken_client-1.0.3 lib/configuration.rb
kraken_client-1.0.2 lib/configuration.rb
kraken_client-1.0.1 lib/configuration.rb
kraken_client-1.0.0 lib/configuration.rb
kraken_client-0.2.1 lib/configuration.rb
kraken_client-0.2.0 lib/configuration.rb