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
15 16 17 |
# File 'lib/convenient_service/service/plugins/has_negated_result/concern.rb', line 15 def negated_result(...) new(...).negated_result end |
Instance Method Details
#negated_result ⇒ Object
25 26 27 |
# File 'lib/convenient_service/service/plugins/has_negated_result/concern.rb', line 25 def negated_result ::ConvenientService.raise Exceptions::NegatedResultIsNotOverridden.new(service: self) end |