gitlabhq/lib/api.rb
2012-06-29 03:52:20 -07:00

13 lines
210 B
Ruby

Dir["#{Rails.root}/lib/api/*.rb"].each {|file| require file}
module Gitlab
class API < Grape::API
format :json
error_format :json
helpers APIHelpers
mount Users
mount Projects
end
end