Class: ConvenientService::Examples::Standard::V1::RequestParams::Services::LogRequestParams
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Standard::V1::RequestParams::Services::LogRequestParams
- Includes:
- Service::Configs::Standard::V1
- Defined in:
- lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#request ⇒ Object
readonly
Returns the value of attribute request.
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(request:, params:, tag: Constants::Tags::EMPTY) ⇒ LogRequestParams
constructor
A new instance of LogRequestParams.
- #result ⇒ Object
Constructor Details
#initialize(request:, params:, tag: Constants::Tags::EMPTY) ⇒ LogRequestParams
Returns a new instance of LogRequestParams.
14 15 16 17 18 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 14 def initialize(request:, params:, tag: Constants::Tags::EMPTY) @request = request @params = params @tag = tag end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
12 13 14 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 12 def params @params end |
#request ⇒ Object (readonly)
Returns the value of attribute request.
12 13 14 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 12 def request @request end |
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
12 13 14 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 12 def tag @tag end |
Instance Method Details
#result ⇒ Object
20 21 22 23 24 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 20 def result Entities::Logger.log() success end |