Class: ConvenientService::Examples::Standard::V1::RequestParams::Services::CastParams
- Inherits:
- 
      Object
      
        - Object
- ConvenientService::Examples::Standard::V1::RequestParams::Services::CastParams
 
- Includes:
- Service::Configs::Standard::V1
- Defined in:
- lib/convenient_service/examples/standard/v1/request_params/services/cast_params.rb
Instance Attribute Summary collapse
- 
  
    
      #params  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute params. 
Instance Method Summary collapse
- 
  
    
      #initialize(params:)  ⇒ CastParams 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CastParams. 
- #result ⇒ Object
Methods included from Config
Constructor Details
#initialize(params:) ⇒ CastParams
Returns a new instance of CastParams.
| 19 20 21 | # File 'lib/convenient_service/examples/standard/v1/request_params/services/cast_params.rb', line 19 def initialize(params:) @params = params 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/cast_params.rb', line 17 def params @params end | 
Instance Method Details
#result ⇒ Object
| 23 24 25 | # File 'lib/convenient_service/examples/standard/v1/request_params/services/cast_params.rb', line 23 def result success(original_params: params, casted_params: casted_params) end |