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
Methods included from Config
Constructor Details
#initialize(request:, params:, tag: Constants::Tags::EMPTY) ⇒ LogRequestParams
Returns a new instance of LogRequestParams.
19 20 21 22 23 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 19 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.
17 18 19 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 17 def params @params end |
#request ⇒ Object (readonly)
Returns the value of attribute request.
17 18 19 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 17 def request @request end |
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
17 18 19 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 17 def tag @tag end |
Instance Method Details
#result ⇒ Object
25 26 27 28 29 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/log_request_params.rb', line 25 def result Entities::Logger.log() success end |