Class: ConvenientService::Examples::Standard::RequestParams::Services::ExtractParamsFromPath
- Inherits:
- 
      Object
      
        - Object
- ConvenientService::Examples::Standard::RequestParams::Services::ExtractParamsFromPath
 
- Includes:
- Service::Configs::Standard
- Defined in:
- lib/convenient_service/examples/standard/request_params/services/extract_params_from_path.rb
Instance Attribute Summary collapse
- 
  
    
      #pattern  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute pattern. 
- 
  
    
      #request  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute request. 
Instance Method Summary collapse
- 
  
    
      #initialize(request:, pattern:)  ⇒ ExtractParamsFromPath 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ExtractParamsFromPath. 
Methods included from Service::Configs::Standard
Methods included from Config
Constructor Details
#initialize(request:, pattern:) ⇒ ExtractParamsFromPath
Returns a new instance of ExtractParamsFromPath.
| 22 23 24 25 | # File 'lib/convenient_service/examples/standard/request_params/services/extract_params_from_path.rb', line 22 def initialize(request:, pattern:) @request = request @pattern = pattern end | 
Instance Attribute Details
#pattern ⇒ Object (readonly)
Returns the value of attribute pattern.
| 16 17 18 | # File 'lib/convenient_service/examples/standard/request_params/services/extract_params_from_path.rb', line 16 def pattern @pattern end | 
#request ⇒ Object (readonly)
Returns the value of attribute request.
| 16 17 18 | # File 'lib/convenient_service/examples/standard/request_params/services/extract_params_from_path.rb', line 16 def request @request end |