add ca service
This commit is contained in:
parent
ca5d4c4b72
commit
8bbf7d31a5
10 changed files with 87 additions and 3 deletions
12
bin/services/ca/app.rb
Normal file
12
bin/services/ca/app.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
require "roda"
|
||||
|
||||
class App < Roda
|
||||
# automatically sets application/json and encodes Ruby objects
|
||||
plugin :json
|
||||
|
||||
route do |r|
|
||||
r.get "hello" do
|
||||
{ message: "world" }
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue