cirandas.net

ref: master

app/api/status.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
module Api
  module Status
 
    # HTTP Status
    BAD_REQUEST = 400
    UNAUTHORIZED = 401
    FORBIDDEN = 403
    NOT_FOUND = 404
    METHOD_NOT_ALLOWED = 405
    UNPROCESSABLE_ENTITY = 422
    OK = 200
    CREATED = 201

    # Noosfero API Status
    DEPRECATED = 299
    INVITATION_SENT_TO_BE_PROCESSED = 298

  end
end