Module: FIXMessageCache

Defined in:
lib/agent_fix/cucumber.rb

Instance Method Summary collapse

Instance Method Details

#last_fixObject

accessor for fix_spec



8
9
10
# File 'lib/agent_fix/cucumber.rb', line 8

def last_fix
  @message
end

#recall_agent(agent) ⇒ Object



12
13
14
15
16
17
# File 'lib/agent_fix/cucumber.rb', line 12

def recall_agent agent
  agent = AgentFIX.agents_hash[agent.to_sym]
  throw "Unknown agent #{agent}" if agent.nil?

  agent
end