Refactor EPP users to API users

This commit is contained in:
Martin Lensment 2015-01-29 14:13:49 +02:00
parent b8494993ea
commit c91c9c8ebf
44 changed files with 154 additions and 150 deletions

View file

@ -4,7 +4,7 @@ module Repp
prefix :repp
http_basic do |username, password|
@current_api_user ||= EppUser.find_by(username: username, password: password)
@current_api_user ||= ApiUser.find_by(username: username, password: password)
end
helpers do