Class: Abc::BaseInteractor
- Inherits:
-
Object
- Object
- Abc::BaseInteractor
- Defined in:
- lib/abc/base_interactor.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call(data, options = {}) ⇒ Object
4 5 6 |
# File 'lib/abc/base_interactor.rb', line 4 def call(data, = {}) new(data, ).to_response end |
Instance Method Details
#to_response ⇒ Object
9 10 11 |
# File 'lib/abc/base_interactor.rb', line 9 def to_response raise "#to_response must be specified!" end |