DataDog/dogapi-rb — pull request #10 by jkoppe (2012-07-02 22:39:02+00:00)
Title: fix the event to_hash but i am not sure this is ideal

the map way was giving me this error

/usr/lib/ruby/gems/1.8/gems/dogapi-1.3.2/lib/dogapi/event.rb:55:in `[]': odd number of arguments for Hash (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/dogapi-1.3.2/lib/dogapi/event.rb:55:in `to_hash'
from /usr/lib/ruby/gems/1.8/gems/dogapi-1.3.2/lib/dogapi/v1/event.rb:18:in `post'
from /usr/lib/ruby/gems/1.8/gems/dogapi-1.3.2/lib/dogapi/facade.rb:98:in `emit_event'