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