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
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.delay_between_requests ⇒ Object
Returns the value of attribute delay_between_requests.
-
.logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/logbook.rb', line 3 def api_key @api_key end |
.delay_between_requests ⇒ Object
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 |
.logger ⇒ Object
Returns the value of attribute logger.
4 5 6 |
# File 'lib/logbook.rb', line 4 def logger @logger end |
Class Method Details
.start ⇒ Object
7 8 9 |
# File 'lib/logbook.rb', line 7 def start agent.start end |
.stop ⇒ Object
11 12 13 |
# File 'lib/logbook.rb', line 11 def stop agent.stop end |