Module: MurmuringSpider

Extended by:
MurmuringSpider
Included in:
MurmuringSpider
Defined in:
lib/murmuring_spider/operation.rb,
lib/murmuring_spider.rb,
lib/murmuring_spider/version.rb,
lib/murmuring_spider/status.rb

Overview

Operation: represents request to Twitter

Defined Under Namespace

Classes: Operation, Status

Constant Summary collapse

VERSION =
"0.0.2"

Instance Method Summary collapse

Instance Method Details

#database_init(db) ⇒ Object



11
12
13
14
# File 'lib/murmuring_spider.rb', line 11

def database_init(db)
  DataMapper.setup(:default, db)
  DataMapper.auto_upgrade!
end