class Checkpoint::Resource::AllOfAnyType

Specialized Resource type to represent all entities of a any/all types. This is used for zone-/system-wide grants or checks.

Public Class Methods

new() click to toggle source

Create a wildcard Resource.

Because type and ID are static, this takes no parameters

# File lib/checkpoint/resource/all_of_any_type.rb, line 11
def initialize
  @entity = AnyEntity.new
end

Public Instance Methods

id() click to toggle source

The special ALL id

# File lib/checkpoint/resource/all_of_any_type.rb, line 21
def id
  Resource::ALL
end
type() click to toggle source

The special ALL type

# File lib/checkpoint/resource/all_of_any_type.rb, line 16
def type
  Resource::ALL
end