Class: RequestLumberjack::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/request_lumberjack/config.rb

Class Method Summary collapse

Class Method Details

.database(uri) ⇒ Object



6
7
8
# File 'lib/request_lumberjack/config.rb', line 6

def self.database(uri)
  @database ||= DataMapper.setup(:default, uri)
end