Module: NewRelicPing

Defined in:
lib/new_relic_ping.rb,
lib/new_relic_ping/engine.rb,
lib/new_relic_ping/version.rb,
lib/new_relic_ping/configuration.rb,
app/helpers/new_relic_ping/health_helper.rb,
app/helpers/new_relic_ping/application_helper.rb,
app/controllers/new_relic_ping/health_controller.rb,
app/controllers/new_relic_ping/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, HealthHelper Classes: ApplicationController, Configuration, Engine, HealthController

Constant Summary collapse

VERSION =
"0.1.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.config_instanceObject

Returns the value of attribute config_instance.



67
68
69
# File 'lib/new_relic_ping/configuration.rb', line 67

def config_instance
  @config_instance
end

Class Method Details

.configObject



69
70
71
# File 'lib/new_relic_ping/configuration.rb', line 69

def config
  self.config_instance ||= Configuration.new
end

.configure {|config| ... } ⇒ Object

Yields:



73
74
75
# File 'lib/new_relic_ping/configuration.rb', line 73

def configure
  yield config
end