Permalink
Browse files

Syntax

  • Loading branch information...
1 parent 25eaae0 commit 01f730c0ea4d803bf61f74f5b6d9b74fb0685c2c @aceofspades committed Mar 30, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/sendgrid_postback/event_receiver.rb
@@ -9,9 +9,9 @@ module EventReceiver
attr_accessor :sendgrid_state
def post_sendgrid_event event_data
- sendgrid_events ||= []
- sendgrid_events << event_data
- sendgrid_state = Event.sorted(sendgrid_events).last['event']
+ self.sendgrid_events ||= []
+ self.sendgrid_events << event_data
+ self.sendgrid_state = Event.sorted(sendgrid_events).last['event']
after_create_sendgrid_event(event_data)
end

0 comments on commit 01f730c

Please sign in to comment.