Sha256: 0ae6cc47dca6e2f67fb068ce90f020c0d71a040373f5db73e2a37d70396b15a6
Contents?: true
Size: 457 Bytes
Versions: 14
Compression:
Stored size: 457 Bytes
Contents
require 'responders' require 'raddocs' require 'swagger/blocks' require 'workarea' require 'workarea/admin' module Workarea module Api module Admin def self.authenticate(email, password) user = User.find_for_login(email, password) user.try(:api_access?) || user.try(:super_admin?) ? user : nil end end end end require 'workarea/api/version' require 'workarea/api/admin/engine' require 'workarea/api/admin/swagger'
Version data entries
14 entries across 14 versions & 2 rubygems