Class: Facebooker::Comment

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/facebooker/models/comment.rb

Overview

A simple representation of a comment

Instance Attribute Summary collapse

Method Summary

Methods included from Model

#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session

Instance Attribute Details

#fromidObject

Returns the value of attribute fromid.



7
8
9
# File 'lib/facebooker/models/comment.rb', line 7

def fromid
  @fromid
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/facebooker/models/comment.rb', line 7

def id
  @id
end

#textObject

Returns the value of attribute text.



7
8
9
# File 'lib/facebooker/models/comment.rb', line 7

def text
  @text
end

#timeObject

Returns the value of attribute time.



7
8
9
# File 'lib/facebooker/models/comment.rb', line 7

def time
  @time
end

#xidObject

Returns the value of attribute xid.



7
8
9
# File 'lib/facebooker/models/comment.rb', line 7

def xid
  @xid
end