module BoyBand

Public Class Methods

job_instigator() click to toggle source
# File lib/boy_band.rb, line 6
def self.job_instigator
  if defined?(PaperTrail)
    PaperTrail.whodunnit
  else
    'unknown'
  end
end
set_job_instigator(name) click to toggle source
# File lib/boy_band.rb, line 14
def self.set_job_instigator(name)
  if defined?(PaperTrail)
    PaperTrail.whodunnit = name
  end
end