Class: HipTail::Event::RoomTopicChange
- Inherits:
-
HipTail::Event
- Object
- HipTail::Event
- HipTail::Event::RoomTopicChange
- Defined in:
- lib/hiptail/event.rb
Instance Attribute Summary collapse
- #sender ⇒ HipTail::User readonly
- #topic ⇒ String readonly
Attributes inherited from HipTail::Event
#authority, #oauth_client_id, #raw, #type, #webhook_id
Method Summary
Methods inherited from HipTail::Event
Constructor Details
This class inherits a constructor from HipTail::Event
Instance Attribute Details
#sender ⇒ HipTail::User (readonly)
92 93 94 95 |
# File 'lib/hiptail/event.rb', line 92 def sender @sender ||= User.create(@raw['item']['sender']) @sender end |
#topic ⇒ String (readonly)
99 100 101 |
# File 'lib/hiptail/event.rb', line 99 def topic @raw['item']['topic'] end |