lib/apia/argument_set.rb
# Create a new argument set from a request object
#
# @param request [Apia::Request]
# @return [Apia::ArgumentSet]
Create a new argument set from a request object
Create a new argument set from a request object
def create_from_request(request)
        json_body = request.json_body || {}
        params = request.params || {}
        merged_params = DeepMerge.merge(params, json_body)
        new(merged_params, request: request)
      end
def create_from_request ( request ) json_body = request . json_body || { } params = request . params || { } merged_params = DeepMerge . merge ( params , json_body ) new ( merged_params , request : request ) end
Create a new argument set from a request object
Create a new argument set from a request object
None
Apia::ArgumentSet
request
<not_specific>
<not_specific>
None