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.5.3 lib/role_authorization/controller/allow_group.rb
role_authorization-0.5.2 lib/role_authorization/controller/allow_group.rb
role_authorization-0.5.1 lib/role_authorization/controller/allow_group.rb
role_authorization-0.5.0 lib/role_authorization/controller/allow_group.rb
role_authorization-0.4.5 lib/role_authorization/controller/allow_group.rb
role_authorization-0.4.4 lib/role_authorization/controller/allow_group.rb
role_authorization-0.4.3 lib/role_authorization/controller/allow_group.rb
role_authorization-0.4.2 lib/role_authorization/controller/allow_group.rb
role_authorization-0.4.1 lib/role_authorization/controller/allow_group.rb
role_authorization-0.4.0 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.9 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.8 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.7 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.6 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.5 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.4 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.3 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.2 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.1 lib/role_authorization/controller/allow_group.rb
role_authorization-0.3.0 lib/role_authorization/controller/allow_group.rb