Sha256: 6aaac999b74288745d0e5fe8b56b89fec7c267cece6ff9ecc52a5b4ea922b050

Contents?: true

Size: 313 Bytes

Versions: 5

Compression:

Stored size: 313 Bytes

Contents

module GnipApi
  class Configuration
    attr_accessor :user, :password, :adapter_class, :account, :logger, :source, :label, :request_timeout

    def initialize
      @adapter_class = GnipApi::Adapters::HTTPartyAdapter
      @logger = Logger.new('tmp/gnip_api.log')
      @request_timeout = 60
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gnip_api-1.0.1 lib/gnip_api/configuration.rb
gnip_api-1.0.0 lib/gnip_api/configuration.rb
gnip_api-0.0.9 lib/gnip_api/configuration.rb
gnip_api-0.0.8 lib/gnip_api/configuration.rb
gnip_api-0.0.7 lib/gnip_api/configuration.rb