Module: Logbook

Defined in:
lib/logbook.rb,
lib/logbook/railtie.rb,
lib/logbook/version.rb

Defined Under Namespace

Classes: Agent, Client, Railtie

Constant Summary collapse

VERSION =
"0.0.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



3
4
5
# File 'lib/logbook.rb', line 3

def api_key
  @api_key
end

.delay_between_requestsObject

Returns the value of attribute delay_between_requests.



5
6
7
# File 'lib/logbook.rb', line 5

def delay_between_requests
  @delay_between_requests
end

.loggerObject

Returns the value of attribute logger.



4
5
6
# File 'lib/logbook.rb', line 4

def logger
  @logger
end

Class Method Details

.startObject



7
8
9
# File 'lib/logbook.rb', line 7

def start
  agent.start
end

.stopObject



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

def stop
  agent.stop
end