Sha256: 8af4d2dc52196b8fb25ce947ad1e8ff01be9d7c0ab2f42fe2e372ac8e5547fa9

Contents?: true

Size: 147 Bytes

Versions: 21

Compression:

Stored size: 147 Bytes

Contents

class Pyk::User
  
  #Pyk::User.is_admin?(current_user.email)
  def self.is_admin?(email)
    (email == "rp@pykih.com") ? true : false
  end
  
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pyk-0.3.2 lib/pyk/user.rb
pyk-0.3.1 lib/pyk/user.rb
pyk-0.3.0 lib/pyk/user.rb
pyk-0.2.9 lib/pyk/user.rb
pyk-0.2.8 lib/pyk/user.rb
pyk-0.2.7 lib/pyk/user.rb
pyk-0.2.6 lib/pyk/user.rb
pyk-0.2.5 lib/pyk/user.rb
pyk-0.2.3 lib/pyk/user.rb
pyk-0.2.2 lib/pyk/user.rb
pyk-0.2.1 lib/pyk/user.rb
pyk-0.2.0 lib/pyk/user.rb
pyk-0.1.9 lib/pyk/user.rb
pyk-0.1.8 lib/pyk/user.rb
pyk-0.1.6 lib/pyk/user.rb
pyk-0.1.5 lib/pyk/user.rb
pyk-0.1.4 lib/pyk/user.rb
pyk-0.1.3 lib/pyk/user.rb
pyk-0.1.2 lib/pyk/user.rb
pyk-0.1.1 lib/pyk/user.rb