Module: FbGraph::Connections::Likes::Likable

Included in:
Album, FbGraph::Checkin, FbGraph::Comment, Link, Note, OpenGraph::Action, Photo, Post, Status, UserAchievement, Video
Defined in:
lib/fb_graph/connections/likes.rb

Instance Method Summary collapse

Instance Method Details

#like!(options = {}) ⇒ Object



19
20
21
# File 'lib/fb_graph/connections/likes.rb', line 19

def like!(options = {})
  post options.merge(:connection => :likes)
end

#unlike!(options = {}) ⇒ Object



23
24
25
# File 'lib/fb_graph/connections/likes.rb', line 23

def unlike!(options = {})
  destroy options.merge(:connection => :likes)
end