module FIXMessageCache

Public Instance Methods

last_fix() click to toggle source

accessor for fix_spec

# File lib/agent_fix/cucumber.rb, line 8
def last_fix
  @message
end
recall_agent(agent) click to toggle source
# 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