Class: HipTail::Event::RoomNotification

Inherits:
RoomMessaging show all
Defined in:
lib/hiptail/event.rb

Instance Attribute Summary collapse

Attributes inherited from RoomMessaging

#room

Attributes inherited from HipTail::Event

#authority, #oauth_client_id, #raw, #type, #webhook_id

Method Summary

Methods inherited from HipTail::Event

#initialize, parse

Constructor Details

This class inherits a constructor from HipTail::Event

Instance Attribute Details

#messageHipTail::Messsage::Notification (readonly)



83
84
85
86
# File 'lib/hiptail/event.rb', line 83

def message
  @message ||= Message::Notification.new(@raw['item']['message'])
  @message
end