added receive method

working example

require 'easypost'
require 'sinatra'
require 'json'

post '/webhook' do
  e = EasyPost::Event.new
  e.receive(JSON.parse(request.body.string)) 
  e.result.to_s
end