Sha256: 762c8958e46fd71c2adf1f6e2327709b98c38749707b838d9d99d8ac7b781e35

Contents?: true

Size: 597 Bytes

Versions: 6

Compression:

Stored size: 597 Bytes

Contents

require 'twitterscraper/logger'
require 'twitterscraper/proxy'
require 'twitterscraper/http'
require 'twitterscraper/lang'
require 'twitterscraper/cache'
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

6 entries across 6 versions & 1 rubygems

Version Path
twitterscraper-ruby-0.15.1 lib/twitterscraper.rb
twitterscraper-ruby-0.15.0 lib/twitterscraper.rb
twitterscraper-ruby-0.14.0 lib/twitterscraper.rb
twitterscraper-ruby-0.13.0 lib/twitterscraper.rb
twitterscraper-ruby-0.12.0 lib/twitterscraper.rb
twitterscraper-ruby-0.11.0 lib/twitterscraper.rb