Class: ConvenientService::Examples::Standard::V1::RequestParams::Services::Prepare

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request:) ⇒ Prepare

Returns a new instance of Prepare.



54
55
56
# File 'lib/convenient_service/examples/standard/v1/request_params/services/prepare.rb', line 54

def initialize(request:)
  @request = request
end

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request.



12
13
14
# File 'lib/convenient_service/examples/standard/v1/request_params/services/prepare.rb', line 12

def request
  @request
end

Instance Method Details

#resultObject



58
59
60
# File 'lib/convenient_service/examples/standard/v1/request_params/services/prepare.rb', line 58

def result
  success(params: params)
end