Files
onemdm-server/app/models/admin_user.rb
Yedhu Krishnan 9c4800e217 Create device model and setup devise, activeadmin and rspec!
- with attributes: model, imei_number, unique_id and access_token
 - access_token is automatically generated on create
2015-10-16 18:50:39 +05:30

7 lines
259 B
Ruby

class AdminUser < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable,
:recoverable, :rememberable, :trackable, :validatable
end