Class: Checkpoint::Resource::AllOfAnyType
- Inherits:
-
Checkpoint::Resource
- Object
- Checkpoint::Resource
- Checkpoint::Resource::AllOfAnyType
- Defined in:
- lib/checkpoint/resource/all_of_any_type.rb
Overview
Specialized Resource type to represent all entities of a any/all types. This is used for zone-/system-wide grants or checks.
Constant Summary
Constants inherited from Checkpoint::Resource
Instance Attribute Summary
Attributes inherited from Checkpoint::Resource
Instance Method Summary collapse
-
#id ⇒ Object
The special ALL id.
-
#initialize ⇒ AllOfAnyType
constructor
Create a wildcard Resource.
-
#type ⇒ Object
The special ALL type.
Methods inherited from Checkpoint::Resource
#==, all, #all?, #all_of_type, #all_of_type?, #eql?, #to_resource, #token
Constructor Details
#initialize ⇒ AllOfAnyType
Create a wildcard Resource.
Because type and ID are static, this takes no parameters
11 12 13 |
# File 'lib/checkpoint/resource/all_of_any_type.rb', line 11 def initialize @entity = AnyEntity.new end |