keenlabs/KeenClient-Ruby — pull request #3 by port80labs (2012-11-25 14:41:09+00:00)
Title: Multiple events posting

This will enable bulk posting of events.

Here is an example:

keen.add_event("purchases", [{
:quantity => @quantity1,
:user => @user1.hashify,
:item => @item1.hashify,
:session => @session1.hashify,
},{
:quantity => @quantity2,
:user => @user2.hashify,
:item => @item2.hashify,
:session => @session2.hashify,
}])

The cucumber test cases are tested in rubies 1.8.7, 1.9.2 and 1.9.3