Class: ConvenientService::Examples::Standard::V1::RequestParams::Services::ValidateUncastedParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject (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

#formatObject (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

#idObject (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

#sourcesObject (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

#tagsObject (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
  @tags
end

#titleObject (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