Sha256: 2b174bcadedfb114d0787c8195419d769a13bc3be9c0662966f75056a6eb6b37

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

require 'twitterscraper/logger'
require 'twitterscraper/proxy'
require 'twitterscraper/http'
require 'twitterscraper/lang'
require 'twitterscraper/query'
require 'twitterscraper/client'
require 'twitterscraper/tweet'
require 'twitterscraper/template'
require 'version'

module Twitterscraper
  class Error < StandardError; end

  def self.logger
    @logger ||= ::Logger.new(STDOUT, level: ::Logger::INFO)
  end

  def self.logger=(logger)
    if logger.nil?
      self.logger.level = ::Logger::FATAL
      return self.logger
    end

    @logger = logger
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twitterscraper-ruby-0.10.0 lib/twitterscraper.rb