Method: Campfire::PasteMessage#initialize

Defined in:
lib/campfire/message.rb

#initialize(params) ⇒ PasteMessage

Returns a new instance of PasteMessage.



44
45
46
47
48
49
# File 'lib/campfire/message.rb', line 44

def initialize(params)
  super
  # FIXME: link is no longer available as a param. If we want the link, we
  # need to construct it from https://#{subdomain}.campfirenow.com/room/#{params[:room_id]}/paste/#{params[:id]}
  # self.link = params[:link]
end