A corporation manager and dashboard for EVE Online
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

19 行
285 B

  1. # require 'calefaction/api/eveonline'
  2. class User < ActiveRecord::Base
  3. include Encryptor
  4. has_secure_password
  5. def api_verify
  6. self.class.decrypt(super())
  7. end
  8. def api_verify=(value)
  9. super(self.class.encrypt(value))
  10. end
  11. def member_of?(corp_id)
  12. false
  13. end
  14. end