events.yml 292 B

123456789
  1. bob_website_agent_event:
  2. user: bob
  3. agent: bob_website_agent
  4. payload: <%= { :title => "foo", :url => "http://foo.com" }.to_json.inspect %>
  5. jane_website_agent_event:
  6. user: jane
  7. agent: jane_website_agent
  8. payload: <%= { :title => "bar", :url => "http://bar.com" }.to_json.inspect %>