Sha256: 4dd256fa5ef908aa88658f3b9e6bd81b09993016e21b10f527445d4e5562d944

Contents?: true

Size: 367 Bytes

Versions: 9

Compression:

Stored size: 367 Bytes

Contents

# encoding: utf-8

module Lockdown
  class UserGroup
    # Name of permission
    attr_accessor :name
    # Array of permission objects that define the user group
    attr_accessor :permissions

    # @param [String,Symbol] name permission reference. 
    def initialize(name)
      @name = name.to_s
      @permissions = []
    end
  end # Permission
end # Lockdown

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
patrick-lockdown-2.0.4.1 lib/lockdown/user_group.rb
lockdown-2.0.7 lib/lockdown/user_group.rb
lockdown-2.0.6 lib/lockdown/user_group.rb
lockdown-2.0.5 lib/lockdown/user_group.rb
lockdown-2.0.4 lib/lockdown/user_group.rb
lockdown-2.0.3 lib/lockdown/user_group.rb
lockdown-2.0.2 lib/lockdown/user_group.rb
lockdown-2.0.1 lib/lockdown/user_group.rb
lockdown-2.0.0 lib/lockdown/user_group.rb