Sha256: 58444b811a96d577f8297005df09f080f1a04492d851589e7cc7a7ec6c204024
Contents?: true
Size: 303 Bytes
Versions: 2
Compression:
Stored size: 303 Bytes
Contents
class Power include Consul::Power def initialize(user) @user = user end power :clients do Client.active end power :client_notes do |client| client.notes end power :admin do false end power :moderator do nil end power :dashboard do true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
consul-0.1.1 | spec/app_root/app/models/power.rb |
consul-0.1.0 | spec/app_root/app/models/power.rb |