Module: ConvenientService::Service::Plugins::HasNegatedResult::Concern
- Includes:
- ConvenientService::Support::Concern
- Defined in:
- lib/convenient_service/service/plugins/has_negated_result/concern.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.negated_result ⇒ Object
20 21 22 |
# File 'lib/convenient_service/service/plugins/has_negated_result/concern.rb', line 20 def negated_result(...) new(...).negated_result end |
Instance Method Details
#negated_result ⇒ Object
30 31 32 |
# File 'lib/convenient_service/service/plugins/has_negated_result/concern.rb', line 30 def negated_result ::ConvenientService.raise Exceptions::NegatedResultIsNotOverridden.new(service: self) end |