Class: ConvenientService::Examples::Standard::RequestParams::Services::ExtractParamsFromBody

Inherits:
Object
  • Object
show all
Includes:
Service::Configs::Standard
Defined in:
lib/convenient_service/examples/standard/request_params/services/extract_params_from_body.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request:) ⇒ ExtractParamsFromBody

Returns a new instance of ExtractParamsFromBody.



18
19
20
# File 'lib/convenient_service/examples/standard/request_params/services/extract_params_from_body.rb', line 18

def initialize(request:)
  @request = request
end

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request.



11
12
13
# File 'lib/convenient_service/examples/standard/request_params/services/extract_params_from_body.rb', line 11

def request
  @request
end