Prepare for API v1 (PR #570)

This commit is contained in:
wvengen 2018-10-13 20:16:35 +02:00 committed by GitHub
parent d9ae0d11b0
commit fd96b6ccc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 536 additions and 217 deletions

5
lib/api/errors.rb Normal file
View file

@ -0,0 +1,5 @@
module Api::Errors
class Error < StandardError; end
# Authentication is handled by Doorkeeper, so no errors for that here
class PermissionRequired < Error; end
end