seekingalpha / event_hub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to add common attributes in the parent event class

bguban opened this issue · comments

class ApplicationEvent
  attribute :event_at
end

class UserRegistered
  attribute :email
  attribute :password
end

currently the event_at attribute is not visible in the UserRegistered event