Module: Mobilis::NewRelic

Included in:
Project
Defined in:
lib/mobilis/new_relic.rb

Instance Method Summary collapse

Instance Method Details

#enable_distributed_tracingObject



13
14
15
# File 'lib/mobilis/new_relic.rb', line 13

def enable_distributed_tracing
  @new_relic_destributed_tracing = true
end

#new_relic(&block) ⇒ Object



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

def new_relic &block
  instance_eval &block
end

#set_license_key(license_key) ⇒ Object



9
10
11
# File 'lib/mobilis/new_relic.rb', line 9

def set_license_key license_key
  @new_relic_license_key = license_key
end