fluke/devops-service/app/api2/routes/status.rb

16 lines
278 B
Ruby
Raw Normal View History

2014-12-15 14:26:54 +03:00
module Devops
module Version2_0
2014-12-22 14:22:04 +03:00
module Routes
2014-12-15 14:26:54 +03:00
module StatusRoutes
2014-10-22 15:01:55 +04:00
2014-12-15 14:26:54 +03:00
def self.registered(app)
2014-12-22 14:22:04 +03:00
app.get "/status/:id", &Devops::Version2_0::Handler::Status.get_status
2014-12-15 14:26:54 +03:00
puts "Status routes initialized"
end
2014-10-22 15:01:55 +04:00
end
end
end
end