diff options
author | elijah <elijah@riseup.net> | 2016-03-28 15:52:21 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-03-28 16:03:54 -0700 |
commit | 67b5aa4198e0f6ab2cd29767aedcb4bf5b5dc4d9 (patch) | |
tree | cfea468d3d70363298490cc1ad7b8085688530b7 /app/models/api_user.rb | |
parent | c63791c7ffacb7c6cfc685e2654ffe66f0a6b185 (diff) |
api tokens - clarify terms: "monitors" are admins that authenticated via api token, "tmp" users are users that exist only in tmp db, "test" users are either tmp users or users named "test_user_x"
Diffstat (limited to 'app/models/api_user.rb')
-rw-r--r-- | app/models/api_user.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/api_user.rb b/app/models/api_user.rb index d80a4d1..2efe1cb 100644 --- a/app/models/api_user.rb +++ b/app/models/api_user.rb @@ -7,8 +7,8 @@ end # for running monitor tests against a live production # installation. # -class ApiTestUser < ApiUser - def is_test? +class ApiMonitorUser < ApiUser + def is_monitor? true end end |