Sha256: 87f27e54c7d89805d8debc88b34414385769a6b80a5e5a86f0143a49f54e3c19

Contents?: true

Size: 519 Bytes

Versions: 5

Compression:

Stored size: 519 Bytes

Contents

module GnipApi
  class Configuration
    OUTPUT_FORMATS = [:activity, :json, :parsed_json]

    attr_accessor :user, :password, :adapter_class, :account, :logger, :source, :label, :request_timeout, :debug, 
                  :stream_output_format, :enable_gzip

    def initialize
      @adapter_class = GnipApi::Adapters::HTTPartyAdapter
      @logger = Logger.new('tmp/gnip_api.log')
      @request_timeout = 60
      @debug = false
      @stream_output_format = :activity
      @enable_gzip = true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gnip_api-1.1.3 lib/gnip_api/configuration.rb
gnip_api-1.1.2 lib/gnip_api/configuration.rb
gnip_api-1.1.1 lib/gnip_api/configuration.rb
gnip_api-1.1.0 lib/gnip_api/configuration.rb
gnip_api-1.0.6 lib/gnip_api/configuration.rb