Sha256: f6b18c77cd81e9b3f704aa1ff20ef8fbc9b4d9a1442b42e983b566cd189313d6
Contents?: true
Size: 347 Bytes
Versions: 3
Compression:
Stored size: 347 Bytes
Contents
module Kadmin module Auth class User attr_accessor :email, :accept, :organization def initialize(email, options = {}) @email = email @organization = options[:organization] end def authorized?(_request) return true end def admin? return true end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kadmin-1.0.2 | lib/kadmin/auth/user.rb |
kadmin-1.0.1 | lib/kadmin/auth/user.rb |
kadmin-1.0.0 | lib/kadmin/auth/user.rb |