# File 'lib/gs_graph/connections/comments.rb', line 13defcomment!(options={})comment=postoptions.merge(:connection=>:comments)Comment.newcomment[:id],options.merge(comment).merge(:access_token=>options[:access_token]||self.access_token)end
#comments(options = {}) ⇒ Object
4
5
6
7
8
9
10
11
# File 'lib/gs_graph/connections/comments.rb', line 4defcomments(options={})comments=self.connection:comments,optionscomments.map!do|comment|Comment.newcomment[:id],comment.merge(:access_token=>options[:access_token]||self.access_token)endend