Module: FbGraph::Connections::Comments
- Included in:
- Album, FbGraph::Checkin, FbGraph::Comment, Link, Note, OpenGraph::Action, Photo, Post, Status, UserAchievement, Video
- Defined in:
- lib/fb_graph/connections/comments.rb
Instance Method Summary collapse
Instance Method Details
#comment!(options = {}) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/fb_graph/connections/comments.rb', line 13 def comment!( = {}) comment = post .merge(:connection => :comments) Comment.new comment[:id], .merge(comment).merge( :access_token => [:access_token] || self.access_token ) end |