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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request:) ⇒ Prepare

Returns a new instance of Prepare.



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

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/prepare.rb', line 11

def request
  @request
end

Instance Method Details

#resultObject



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

def result
  success(params: params)
end