Module: TweetWatch

Defined in:
lib/tweet_watch.rb,
lib/tweet_watch/cli.rb,
lib/tweet_watch/utils.rb,
lib/tweet_watch/client.rb,
lib/tweet_watch/config.rb,
lib/tweet_watch/account.rb,
lib/tweet_watch/monitor.rb,
lib/tweet_watch/version.rb

Defined Under Namespace

Modules: Client, Utils Classes: Account, CLI, Config, Monitor

Constant Summary collapse

VERSION =
"0.2.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject



18
19
20
# File 'lib/tweet_watch.rb', line 18

def self.config
  @config ||= Config.new
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



26
27
28
# File 'lib/tweet_watch.rb', line 26

def self.configure
  yield(config)
end

.resetObject



22
23
24
# File 'lib/tweet_watch.rb', line 22

def self.reset
  @config = Config.new
end

.rootObject



30
31
32
# File 'lib/tweet_watch.rb', line 30

def self.root
    File.dirname __dir__
end