New REPP doc

This commit is contained in:
Martin Lensment 2015-04-01 13:32:38 +03:00
parent 7e123f902e
commit 21f07076cd
9 changed files with 113 additions and 153 deletions

View file

@ -7,6 +7,7 @@ module Repp
params do
optional :limit, type: Integer, values: (1..20).to_a
optional :offset, type: Integer
optional :details, type: String, values: %w(true false)
end
get '/' do

View file

@ -7,6 +7,7 @@ module Repp
params do
optional :limit, type: Integer, values: (1..20).to_a
optional :offset, type: Integer
optional :details, type: String, values: %w(true false)
end
get '/' do