Class: ConvenientService::Examples::Standard::V1::RequestParams::Services::ValidateUncastedParams
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Standard::V1::RequestParams::Services::ValidateUncastedParams
- Includes:
- Service::Configs::Standard::V1
- Defined in:
- lib/convenient_service/examples/standard/v1/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.
19 20 21 22 23 24 25 26 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/validate_uncasted_params.rb', line 19 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.
12 13 14 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/validate_uncasted_params.rb', line 12 def description @description end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
12 13 14 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/validate_uncasted_params.rb', line 12 def format @format end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
12 13 14 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/validate_uncasted_params.rb', line 12 def id @id end |
#sources ⇒ Object (readonly)
Returns the value of attribute sources.
12 13 14 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/validate_uncasted_params.rb', line 12 def sources @sources end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
12 13 14 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/validate_uncasted_params.rb', line 12 def @tags end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
12 13 14 |
# File 'lib/convenient_service/examples/standard/v1/request_params/services/validate_uncasted_params.rb', line 12 def title @title end |