class CampfireChat::Message

Attributes

author[R]
body[R]
id[R]

Public Class Methods

new(raw_message) click to toggle source
# File lib/campfire_chat/message.rb, line 4
def initialize(raw_message)
  @author = raw_message.user.name
  @body = raw_message.body
  @id = raw_message.id
end