Sha256: e213a2e6f08a792eff87339acc0dbe31d357ffdb044d49078c5c1540f84a4279

Contents?: true

Size: 300 Bytes

Versions: 36

Compression:

Stored size: 300 Bytes

Contents

module RoleAuthorization
  module AllowGroup
    include RoleAuthorization::Ruleset
    cattr_ruleset :ruleset

    class << self
      def define(name, &block)
        add_to_ruleset(name, &block)
      end

      def get(*names)
        ruleset.values_at(names).compact
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
role_authorization-0.2.8 lib/role_authorization/controller/allow_group.rb
role_authorization-0.2.7 lib/role_authorization/controller/allow_group.rb
role_authorization-0.2.6 lib/role_authorization/controller/allow_group.rb
role_authorization-0.2.5 lib/role_authorization/controller/allow_group.rb
role_authorization-0.2.4 lib/role_authorization/controller/allow_group.rb
role_authorization-0.2.3 lib/role_authorization/controller/allow_group.rb
role_authorization-0.2.2 lib/role_authorization/controller/allow_group.rb
role_authorization-0.2.1 lib/role_authorization/controller/allow_group.rb
role_authorization-0.2.0 lib/role_authorization/controller/allow_group.rb
role_authorization-0.1.6 lib/role_authorization/allow_group.rb
role_authorization-0.1.5 lib/role_authorization/allow_group.rb
role_authorization-0.1.4 lib/role_authorization/allow_group.rb
role_authorization-0.1.3 lib/role_authorization/allow_group.rb
role_authorization-0.1.2 lib/role_authorization/allow_group.rb
role_authorization-0.1.1 lib/role_authorization/allow_group.rb
role_authorization-0.1.0 lib/role_authorization/allow_group.rb