Sha256: ea3fb01b3042d93dd61542caef15e60e1392783dfb6150e0e85cbcca03e10ad3
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
module Fb module Messenger module Event # base event class Base def initialize(event_data) @event_data = event_data end def timestamp @event_data[:timestamp] end def sender_id @event_data[:sender][:id] end def recipient_id @event_data[:recipient][:id] end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fb-messenger-0.1.1 | lib/fb/messenger/events/base.rb |
fb-messenger-0.1.0 | lib/fb/messenger/events/base.rb |