Sha256: bb4eef277d2955ab8961831e6acec5b120b7e6e63ae156962711a38a70b332b3

Contents?: true

Size: 498 Bytes

Versions: 17

Compression:

Stored size: 498 Bytes

Contents

module FbGraph2
  class Comment < Node
    include Edge::Comments
    include Edge::Likes::LikeeContext

    register_attributes(
      raw: [:can_comment, :can_remove, :comment_count, :like_count, :message, :user_likes, :is_hidden, :can_hide],
      time: [:created_time],
      user: [:from],
      comment: [:parent],
      profiles: [:message_tags],
      custom: [:attachment]
    )

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fb_graph2-0.7.2 lib/fb_graph2/comment.rb
fb_graph2-0.7.1 lib/fb_graph2/comment.rb
fb_graph2-0.7.0 lib/fb_graph2/comment.rb
fb_graph2-0.6.2 lib/fb_graph2/comment.rb
fb_graph2-0.6.1 lib/fb_graph2/comment.rb
fb_graph2-0.6.0 lib/fb_graph2/comment.rb
fb_graph2-0.5.3 lib/fb_graph2/comment.rb
fb_graph2-0.5.2 lib/fb_graph2/comment.rb
fb_graph2-0.5.1 lib/fb_graph2/comment.rb
fb_graph2-0.5.0 lib/fb_graph2/comment.rb
fb_graph2-0.4.4 lib/fb_graph2/comment.rb
fb_graph2-0.4.3 lib/fb_graph2/comment.rb
fb_graph2-0.4.1 lib/fb_graph2/comment.rb
fb_graph2-0.4.0 lib/fb_graph2/comment.rb
fb_graph2-0.3.2 lib/fb_graph2/comment.rb
fb_graph2-0.3.1 lib/fb_graph2/comment.rb
fb_graph2-0.3.0 lib/fb_graph2/comment.rb