Sha256: 3209e291d93968c5719329136f91347e23dde4969e6ab9b59189dec1e433208a

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

module GnipApi
  class Configuration
    attr_accessor :user, :password, :adapter_class, :account, :logger, :mutex
    attr_reader :rate_limiter

    def initialize
      @adapter_class = GnipApi::Adapters::HTTPartyAdapter
      @logger = Logger.new('tmp/gnip_api.log')
      @mutex = Mutex.new
      @rate_limiter = GnipApi::RateLimiter.new
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gnip_api-0.0.4 lib/gnip_api/configuration.rb
gnip_api-0.0.3 lib/gnip_api/configuration.rb
gnip_api-0.0.2 lib/gnip_api/configuration.rb