Sha256: 8a84d16174ee532b3e1098c57ec5d7c2123d71d7fe07b21fc5abac530244ae46

Contents?: true

Size: 479 Bytes

Versions: 4

Compression:

Stored size: 479 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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gnip_api-1.0.5 lib/gnip_api/configuration.rb
gnip_api-1.0.4 lib/gnip_api/configuration.rb
gnip_api-1.0.3 lib/gnip_api/configuration.rb
gnip_api-1.0.2 lib/gnip_api/configuration.rb