Class: NullService
- Inherits:
-
Jarvis::Service
- Object
- Jarvis::Service
- NullService
- Defined in:
- lib/jarvis/services/null_service.rb
Instance Attribute Summary
Attributes inherited from Jarvis::Service
Instance Method Summary collapse
Methods inherited from Jarvis::Service
environment, #initialize, interpreter_pattern, invoke_with, #method_missing, phrases, #validate_environment
Constructor Details
This class inherits a constructor from Jarvis::Service
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Jarvis::Service
Instance Method Details
#run ⇒ Object
2 3 4 |
# File 'lib/jarvis/services/null_service.rb', line 2 def run Jarvis::ArrayResponder.new(Jarvis.config.default_response).respond end |