Class: ConvenientService::Examples::Standard::RequestParams::Services::ValidateUncastedParams
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Standard::RequestParams::Services::ValidateUncastedParams
- Includes:
- Service::Configs::Standard
- Defined in:
- lib/convenient_service/examples/standard/request_params/services/validate_uncasted_params.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#sources ⇒ Object
readonly
Returns the value of attribute sources.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(params:) ⇒ ValidateUncastedParams
constructor
A new instance of ValidateUncastedParams.
Constructor Details
#initialize(params:) ⇒ ValidateUncastedParams
Returns a new instance of ValidateUncastedParams.
18 19 20 21 22 23 24 25 |
# File 'lib/convenient_service/examples/standard/request_params/services/validate_uncasted_params.rb', line 18 def initialize(params:) @id = params[:id] @format = params[:format] @title = params[:title] @description = params[:description] @tags = params[:tags] @sources = params[:sources] end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
11 12 13 |
# File 'lib/convenient_service/examples/standard/request_params/services/validate_uncasted_params.rb', line 11 def description @description end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
11 12 13 |
# File 'lib/convenient_service/examples/standard/request_params/services/validate_uncasted_params.rb', line 11 def format @format end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
11 12 13 |
# File 'lib/convenient_service/examples/standard/request_params/services/validate_uncasted_params.rb', line 11 def id @id end |
#sources ⇒ Object (readonly)
Returns the value of attribute sources.
11 12 13 |
# File 'lib/convenient_service/examples/standard/request_params/services/validate_uncasted_params.rb', line 11 def sources @sources end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
11 12 13 |
# File 'lib/convenient_service/examples/standard/request_params/services/validate_uncasted_params.rb', line 11 def @tags end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
11 12 13 |
# File 'lib/convenient_service/examples/standard/request_params/services/validate_uncasted_params.rb', line 11 def title @title end |