Class: Bookmark

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource
Defined in:
lib/campfire/polling_bot/plugins/bookmark/bookmark.rb

Overview

used by BookmarksPlugin

Instance Method Summary collapse

Instance Method Details

return link to bookmark


12
13
14
# File 'lib/campfire/polling_bot/plugins/bookmark/bookmark.rb', line 12

def link
  "/room/#{self.room}/transcript/message/#{self.message_id}"
end