Sha256: 5a6e95cfc0530abb1a2a4fbc71008641601d2be73f25e77c13ccaadc64aceb3d

Contents?: true

Size: 409 Bytes

Versions: 4

Compression:

Stored size: 409 Bytes

Contents

module FbGraph2
  class Comment < Node
    register_attributes(
      raw: [:can_comment, :can_remove, :comment_count, :like_count, :message, :user_likes],
      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

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph2-0.0.6 lib/fb_graph2/comment.rb
fb_graph2-0.0.5 lib/fb_graph2/comment.rb
fb_graph2-0.0.4 lib/fb_graph2/comment.rb
fb_graph2-0.0.3 lib/fb_graph2/comment.rb