Class: SuperInstance::Equipment::SwarmCoordinator::AccessPolicy

Inherits:
Data
  • Object
show all
Defined in:
lib/equipment/swarm_coordinator/asymmetric_knowledge.rb

Overview

Policy for knowledge access

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_keysObject (readonly)

Returns the value of attribute allowed_keys

Returns:

  • (Object)

    the current value of allowed_keys



53
54
55
# File 'lib/equipment/swarm_coordinator/asymmetric_knowledge.rb', line 53

def allowed_keys
  @allowed_keys
end

#conditionsObject (readonly)

Returns the value of attribute conditions

Returns:

  • (Object)

    the current value of conditions



53
54
55
# File 'lib/equipment/swarm_coordinator/asymmetric_knowledge.rb', line 53

def conditions
  @conditions
end

#denied_keysObject (readonly)

Returns the value of attribute denied_keys

Returns:

  • (Object)

    the current value of denied_keys



53
54
55
# File 'lib/equipment/swarm_coordinator/asymmetric_knowledge.rb', line 53

def denied_keys
  @denied_keys
end

#expires_atObject (readonly)

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



53
54
55
# File 'lib/equipment/swarm_coordinator/asymmetric_knowledge.rb', line 53

def expires_at
  @expires_at
end

#granted_levelObject (readonly)

Returns the value of attribute granted_level

Returns:

  • (Object)

    the current value of granted_level



53
54
55
# File 'lib/equipment/swarm_coordinator/asymmetric_knowledge.rb', line 53

def granted_level
  @granted_level
end

#policy_idObject (readonly)

Returns the value of attribute policy_id

Returns:

  • (Object)

    the current value of policy_id



53
54
55
# File 'lib/equipment/swarm_coordinator/asymmetric_knowledge.rb', line 53

def policy_id
  @policy_id
end

#source_agent_idObject (readonly)

Returns the value of attribute source_agent_id

Returns:

  • (Object)

    the current value of source_agent_id



53
54
55
# File 'lib/equipment/swarm_coordinator/asymmetric_knowledge.rb', line 53

def source_agent_id
  @source_agent_id
end

#target_agent_idObject (readonly)

Returns the value of attribute target_agent_id

Returns:

  • (Object)

    the current value of target_agent_id



53
54
55
# File 'lib/equipment/swarm_coordinator/asymmetric_knowledge.rb', line 53

def target_agent_id
  @target_agent_id
end