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
99 100 101 |
# File 'lib/sanford/service_handler.rb', line 99 def self.included(klass) require 'sanford/test_runner' end |
Instance Method Details
#test_handler(handler_class, args = nil) ⇒ Object
107 108 109 |
# File 'lib/sanford/service_handler.rb', line 107 def test_handler(handler_class, args = nil) test_runner(handler_class, args).handler end |
#test_runner(handler_class, args = nil) ⇒ Object
103 104 105 |
# File 'lib/sanford/service_handler.rb', line 103 def test_runner(handler_class, args = nil) TestRunner.new(handler_class, args) end |