Module: Travis
- Defined in:
- lib/travis.rb,
lib/travis/amqp.rb,
lib/travis/model.rb,
lib/travis/config.rb,
lib/travis/mailer.rb,
lib/travis/logging.rb,
lib/travis/database.rb,
lib/travis/renderer.rb,
lib/travis/github_api.rb,
lib/travis/mailer/build.rb,
lib/travis/notifications.rb,
lib/travis/notifications/irc.rb,
lib/travis/mailer/helper/build.rb,
lib/travis/notifications/email.rb,
lib/travis/notifications/pusher.rb,
lib/travis/notifications/worker.rb,
lib/travis/notifications/webhook.rb,
lib/travis/notifications/worker/queue.rb,
lib/travis/notifications/pusher/payload.rb,
lib/travis/notifications/worker/payload.rb,
lib/travis/notifications/webhook/payload.rb
Defined Under Namespace
Modules: Amqp, Database, GithubApi, Logging, Mailer, Notifications
Classes: Config, LogFormatter, Model, Renderer
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.pusher ⇒ Object
Returns the value of attribute pusher.
23
24
25
|
# File 'lib/travis.rb', line 23
def pusher
@pusher
end
|
Class Method Details
.config ⇒ Object
25
26
27
|
# File 'lib/travis.rb', line 25
def config
@config ||= Config.new
end
|
.logger ⇒ Object
13
14
15
16
17
|
# File 'lib/travis/logging.rb', line 13
def logger
@logger ||= Logger.new(STDOUT).tap do |logger|
logger.formatter = LogFormatter.new
end
end
|
.logger=(logger) ⇒ Object
19
20
21
|
# File 'lib/travis/logging.rb', line 19
def logger=(logger)
@logger = logger
end
|