Module: ConvenientService::Service::Plugins::CanHaveStubbedResults

Defined in:
lib/convenient_service/service/plugins/can_have_stubbed_results.rb,
lib/convenient_service/service/plugins/can_have_stubbed_results/concern.rb,
lib/convenient_service/service/plugins/can_have_stubbed_results/middleware.rb,
lib/convenient_service/service/plugins/can_have_stubbed_results/commands/set_service_stubbed_result.rb,
lib/convenient_service/service/plugins/can_have_stubbed_results/commands/fetch_service_stubbed_results_cache.rb,
lib/convenient_service/service/plugins/can_have_stubbed_results/commands/fetch_all_services_stubbed_results_cache.rb

Defined Under Namespace

Modules: Commands, Concern Classes: Middleware

Class Method Summary collapse

Class Method Details

.set_service_stubbed_result(service, arguments, result) ⇒ Object



17
18
19
# File 'lib/convenient_service/service/plugins/can_have_stubbed_results.rb', line 17

def set_service_stubbed_result(service, arguments, result)
  Commands::SetServiceStubbedResult[service: service, arguments: arguments, result: result]
end