Class: KCV::AgentResolver

Inherits:
Checkpoint::Agent::Resolver
  • Object
show all
Defined in:
lib/kcv/agent_resolver.rb

Overview

Base AgentResolver to integrate Keycard and Checkpoint.

This resolver depends on the actor having the ‘#identity` method, from which all attributes are extracted and delivered as agents, as converted by the `agent_factory`.

Defined Under Namespace

Classes: IdentityAttribute

Instance Method Summary collapse

Instance Method Details

#expand(actor) ⇒ Object



14
15
16
# File 'lib/kcv/agent_resolver.rb', line 14

def expand(actor)
  [convert(actor)] + identity_agents(actor)
end