Module: BoyBand
- Defined in:
- lib/boy_band.rb
Defined Under Namespace
Modules: AsyncClassMethods, AsyncInstanceMethods, WorkerMethods
Class Method Summary
collapse
Class Method Details
.job_instigator ⇒ Object
6
7
8
9
10
11
12
|
# File 'lib/boy_band.rb', line 6
def self.job_instigator
if defined?(PaperTrail)
PaperTrail.whodunnit
else
'unknown'
end
end
|
.set_job_instigator(name) ⇒ Object
14
15
16
17
18
|
# File 'lib/boy_band.rb', line 14
def self.set_job_instigator(name)
if defined?(PaperTrail)
PaperTrail.whodunnit = name
end
end
|