Module: ConvenientService::Service::Plugins::HasResult::Concern
- Includes:
- ConvenientService::Support::Concern
- Defined in:
- lib/convenient_service/service/plugins/has_result/concern.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.result ⇒ Object
15 16 17 |
# File 'lib/convenient_service/service/plugins/has_result/concern.rb', line 15 def result(...) new(...).result end |
Instance Method Details
#result ⇒ Object
25 26 27 |
# File 'lib/convenient_service/service/plugins/has_result/concern.rb', line 25 def result ::ConvenientService.raise Exceptions::ResultIsNotOverridden.new(service: self) end |