Sha256: ddbd9ba27c178662b63e35324c137ce31a7ca424e452b6c2a7ed3eb58007641e
Contents?: true
Size: 563 Bytes
Versions: 8
Compression:
Stored size: 563 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Examples module Standard module RequestParams module Services class ApplyDefaultParamValues include ConvenientService::Standard::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
Version data entries
8 entries across 8 versions & 1 rubygems