Module: Exceptional::Integration
- Defined in:
- lib/exceptional/integration/tester.rb
Defined Under Namespace
Classes: ExceptionalTestException
Class Method Summary collapse
Class Method Details
.test ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/exceptional/integration/tester.rb', line 6 def self.test data = Exceptional::ExceptionData.new(ExceptionalTestException.new) unless Exceptional::Remote.error(data) puts "Problem sending error to Exceptional. Check your api key" else puts "Exception sent successfully" end end |