Module: ConvenientService::Service::Plugins::HasJSendResult::Concern::InstanceMethods
- Defined in:
- lib/convenient_service/service/plugins/has_j_send_result/concern/instance_methods.rb
Instance Method Summary collapse
- #error(**kwargs) ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
- #failure(**kwargs) ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
- #success(**kwargs) ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
Instance Method Details
#error(**kwargs) ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
32 33 34 |
# File 'lib/convenient_service/service/plugins/has_j_send_result/concern/instance_methods.rb', line 32 def error(**kwargs) self.class.error(**kwargs.merge(service: self)) end |
#failure(**kwargs) ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
23 24 25 |
# File 'lib/convenient_service/service/plugins/has_j_send_result/concern/instance_methods.rb', line 23 def failure(**kwargs) self.class.failure(**kwargs.merge(service: self)) end |
#success(**kwargs) ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
14 15 16 |
# File 'lib/convenient_service/service/plugins/has_j_send_result/concern/instance_methods.rb', line 14 def success(**kwargs) self.class.success(**kwargs.merge(service: self)) end |