Sha256: d5745528c6a694b0a42b33e10113d6db8ee90e58f6780fc06bc9c0be8eb7e3cb

Contents?: true

Size: 428 Bytes

Versions: 44

Compression:

Stored size: 428 Bytes

Contents

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

    register_attributes(
      raw: [:type, :no_feed_story],
      time: [:publish_time],
      app: [:application],
      user: [:from],
      custom: [:data]
    )

    def initialize(id, attributes = {})
      super
      if attributes.include? :data
        self.data = attributes[:data]
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
fb_graph2-1.3.0 lib/fb_graph2/achievement.rb
fb_graph2-1.2.0 lib/fb_graph2/achievement.rb
fb_graph2-1.1.1 lib/fb_graph2/achievement.rb
fb_graph2-1.1.0 lib/fb_graph2/achievement.rb
fb_graph2-1.0.1 lib/fb_graph2/achievement.rb
fb_graph2-1.0.0 lib/fb_graph2/achievement.rb
fb_graph2-0.9.1 lib/fb_graph2/achievement.rb
fb_graph2-0.9.0 lib/fb_graph2/achievement.rb
fb_graph2-0.8.0 lib/fb_graph2/achievement.rb
fb_graph2-0.7.9 lib/fb_graph2/achievement.rb
fb_graph2-0.7.8 lib/fb_graph2/achievement.rb
fb_graph2-0.7.7 lib/fb_graph2/achievement.rb
fb_graph2-0.7.6 lib/fb_graph2/achievement.rb
fb_graph2-0.7.5 lib/fb_graph2/achievement.rb
fb_graph2-0.7.4 lib/fb_graph2/achievement.rb
fb_graph2-0.7.3 lib/fb_graph2/achievement.rb
fb_graph2-0.7.2 lib/fb_graph2/achievement.rb
fb_graph2-0.7.1 lib/fb_graph2/achievement.rb
fb_graph2-0.7.0 lib/fb_graph2/achievement.rb
fb_graph2-0.6.2 lib/fb_graph2/achievement.rb