Sha256: 926287967ef347ed13c48618b9c06471b9f12e692686cc23e728c1f66725f3c2
Contents?: true
Size: 1.15 KB
Versions: 7
Compression:
Stored size: 1.15 KB
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasJSendResult module Concern module InstanceMethods ## # @api public # @param kwargs [Hash{Symbol => Object}] # @return [ConvenientService::Service::Plugins::HasJSendResult::Entities::Result] # def success(**kwargs) self.class.success(**kwargs.merge(service: self)) end ## # @api public # @param kwargs [Hash{Symbol => Object}] # @return [ConvenientService::Service::Plugins::HasJSendResult::Entities::Result] # def failure(**kwargs) self.class.failure(**kwargs.merge(service: self)) end ## # @api public # @param kwargs [Hash{Symbol => Object}] # @return [ConvenientService::Service::Plugins::HasJSendResult::Entities::Result] # def error(**kwargs) self.class.error(**kwargs.merge(service: self)) end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems