Module: Sanford::ServiceHandler::TestHelpers
- Defined in:
- lib/sanford/service_handler.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
100 101 102 |
# File 'lib/sanford/service_handler.rb', line 100 def self.included(klass) require 'sanford/test_runner' end |
Instance Method Details
#test_handler(handler_class, args = nil) ⇒ Object
108 109 110 |
# File 'lib/sanford/service_handler.rb', line 108 def test_handler(handler_class, args = nil) test_runner(handler_class, args).handler end |
#test_runner(handler_class, args = nil) ⇒ Object
104 105 106 |
# File 'lib/sanford/service_handler.rb', line 104 def test_runner(handler_class, args = nil) TestRunner.new(handler_class, args) end |