Sha256: 152a394eaac3b914e41131a3ca769af7fb2afc6f239752845db79170e3e3abaf
Contents?: true
Size: 622 Bytes
Versions: 4
Compression:
Stored size: 622 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Examples module Standard module V1 class RequestParams module Services class ApplyDefaultParamValues include ConvenientService::Standard::V1::Config attr_reader :params, :defaults def initialize(params:, defaults:) @params = params @defaults = defaults end def result success(params: defaults.merge(params)) end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems