Class: FbGraph2::Comment

Inherits:
Node
  • Object
show all
Includes:
Edge::Comments, Edge::Likes::LikeeContext
Defined in:
lib/fb_graph2/comment.rb

Instance Attribute Summary

Attributes inherited from Node

#access_token, #id

Instance Method Summary collapse

Methods included from Edge::Likes::LikeeContext

#assign, #like!, #likes, #unlike!

Methods included from Edge::Comments

#assign, #comment!, #comments

Methods inherited from Node

#authenticate, #destroy, #edge, #edges, #fetch, #update

Methods included from AttributeAssigner

#assign

Constructor Details

#initialize(id, attributes = {}) ⇒ Comment

Returns a new instance of Comment.



15
16
17
18
# File 'lib/fb_graph2/comment.rb', line 15

def initialize(id, attributes = {})
  super
  # TODO: handle custom attributes.
end