Class: EventMachine::Http::MonitorFactory::FailingMockingFileOutputter

Inherits:
MockingFileOutputter show all
Defined in:
lib/em-http-monitor.rb

Instance Attribute Summary

Attributes inherited from MockingFileOutputter

#file

Instance Method Summary collapse

Methods inherited from MockingFileOutputter

#initialize

Methods inherited from FileOutputter

#initialize, #receive, #reset, #send

Constructor Details

This class inherits a constructor from EventMachine::Http::MonitorFactory::MockingFileOutputter

Instance Method Details

#find_mock(verb, uri, host) ⇒ Object



236
237
238
# File 'lib/em-http-monitor.rb', line 236

def find_mock(verb, uri, host)
  super or raise(MockNotFoundError, "Cannot find mock for #{verb} #{uri} #{host} in #{file}")
end