Class: Approvals::Reporters::FilelauncherReporter

Inherits:
Reporter
  • Object
show all
Includes:
Singleton
Defined in:
lib/approvals/reporters/filelauncher_reporter.rb

Instance Attribute Summary

Attributes inherited from Reporter

#launcher

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Reporter

#approved_when_reported?, #initialize, #report

Constructor Details

This class inherits a constructor from Approvals::Reporters::Reporter

Class Method Details

.report(received, approved = nil) ⇒ Object


7
8
9
# File 'lib/approvals/reporters/filelauncher_reporter.rb', line 7

def report(received, approved = nil)
  self.instance.report(received, approved)
end

Instance Method Details

#default_launcherObject


12
13
14
# File 'lib/approvals/reporters/filelauncher_reporter.rb', line 12

def default_launcher
  Launcher.filelauncher
end