Class: FbGraph2::Post

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

Instance Attribute Summary

Attributes inherited from Node

#access_token, #id, #raw_attributes

Instance Method Summary collapse

Methods included from Edge::SharedPosts

#shared_posts

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, #fetch, inherited, #update

Constructor Details

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



23
24
25
26
# File 'lib/fb_graph2/post.rb', line 23

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