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