File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def [](rule_name)
2424    private 
2525
2626    def  endpoint_path ( operation  =  nil ) 
27-       "#{ AnalyticsRules ::RESOURCE_PATH } #{ operation . nil?  ?  ''  :  "/#{ URI . encode_www_form_component ( operation ) }  " }  " 
27+       "#{ AnalyticsRules ::RESOURCE_PATH } #{ "/#{ URI . encode_www_form_component ( operation ) }  "   unless   operation . nil? }  " 
2828    end 
2929  end 
3030end 
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ def truncate
8888    private 
8989
9090    def  endpoint_path ( operation  =  nil ) 
91-       "#{ Collections ::RESOURCE_PATH }  /#{ URI . encode_www_form_component ( @collection_name ) } #{ Documents ::RESOURCE_PATH } #{ operation . nil?  ?  ''  :  "/#{ operation }  " }  " 
91+       "#{ Collections ::RESOURCE_PATH }  /#{ URI . encode_www_form_component ( @collection_name ) } #{ Documents ::RESOURCE_PATH } #{ "/#{ operation }  "   unless   operation . nil? }  " 
9292    end 
9393  end 
9494end 
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def [](override_id)
2525    private 
2626
2727    def  endpoint_path ( operation  =  nil ) 
28-       "#{ Collections ::RESOURCE_PATH }  /#{ URI . encode_www_form_component ( @collection_name ) } #{ Overrides ::RESOURCE_PATH } #{ operation . nil?  ?  ''  :  "/#{ URI . encode_www_form_component ( operation ) }  " }  " 
28+       "#{ Collections ::RESOURCE_PATH }  /#{ URI . encode_www_form_component ( @collection_name ) } #{ Overrides ::RESOURCE_PATH } #{ "/#{ URI . encode_www_form_component ( operation ) }  "   unless   operation . nil? }  " 
2929    end 
3030  end 
3131end 
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def [](preset_name)
2424    private 
2525
2626    def  endpoint_path ( operation  =  nil ) 
27-       "#{ Presets ::RESOURCE_PATH } #{ operation . nil?  ?  ''  :  "/#{ URI . encode_www_form_component ( operation ) }  " }  " 
27+       "#{ Presets ::RESOURCE_PATH } #{ "/#{ URI . encode_www_form_component ( operation ) }  "   unless   operation . nil? }  " 
2828    end 
2929  end 
3030end 
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def [](dict_id)
4343    private 
4444
4545    def  endpoint_path ( operation  =  nil ) 
46-       "#{ StemmingDictionaries ::RESOURCE_PATH } #{ operation . nil?  ?  ''  :  "/#{ URI . encode_www_form_component ( operation ) }  " }  " 
46+       "#{ StemmingDictionaries ::RESOURCE_PATH } #{ "/#{ URI . encode_www_form_component ( operation ) }  "   unless   operation . nil? }  " 
4747    end 
4848  end 
4949end 
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def [](synonym_id)
2525    private 
2626
2727    def  endpoint_path ( operation  =  nil ) 
28-       "#{ Collections ::RESOURCE_PATH }  /#{ URI . encode_www_form_component ( @collection_name ) } #{ Synonyms ::RESOURCE_PATH } #{ operation . nil?  ?  ''  :  "/#{ URI . encode_www_form_component ( operation ) }  " }  " 
28+       "#{ Collections ::RESOURCE_PATH }  /#{ URI . encode_www_form_component ( @collection_name ) } #{ Synonyms ::RESOURCE_PATH } #{ "/#{ URI . encode_www_form_component ( operation ) }  "   unless   operation . nil? }  " 
2929    end 
3030  end 
3131end 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments