Class: Schatter::Message

Inherits:
Resource show all
Defined in:
lib/schatter/message.rb

Instance Method Summary collapse

Methods inherited from Resource

#delete, #destroy, #formatted_timestamp, #get, #initialize, #links, #post, #resource, #timestamp, #uuid

Constructor Details

This class inherits a constructor from Schatter::Resource

Instance Method Details

#contentObject



4
5
6
# File 'lib/schatter/message.rb', line 4

def content
  resource['content']
end

#parent_idObject



12
13
14
# File 'lib/schatter/message.rb', line 12

def parent_id
  resource['parent_id']
end

#person_idObject



8
9
10
# File 'lib/schatter/message.rb', line 8

def person_id
  resource['person_id']
end