| 
									
										
										
										
											2014-12-22 14:22:04 +03:00
										 |  |  | require "commands/bootstrap_templates" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module Devops | 
					
						
							|  |  |  |   module Version2_0 | 
					
						
							|  |  |  |     module Handler | 
					
						
							|  |  |  |       class BootstrapTemplates | 
					
						
							|  |  |  |         extend BootstrapTemplatesCommands | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         def self.get_bootstrap_templates | 
					
						
							|  |  |  |           lambda { | 
					
						
							| 
									
										
										
										
											2015-02-19 11:27:56 +03:00
										 |  |  |             check_privileges("templates", "r") | 
					
						
							|  |  |  | #            broadcast(:cancel_order_failed, "hello") | 
					
						
							| 
									
										
										
										
											2014-12-22 14:22:04 +03:00
										 |  |  |             json BootstrapTemplates.get_templates | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 |