Sha256: 659aea1ebd0551a6714fd0959c0b13c9a6bea26dd8abef0d6f672d07cfa01f95

Contents?: true

Size: 360 Bytes

Versions: 44

Compression:

Stored size: 360 Bytes

Contents

module FbGraph2
  class Notification < Node
    register_attributes(
      raw: [:title, :link, :unread],
      time: [:created_time, :updated_time],
      profile: [:from],
      user: [:to],
      app: [:application],
      custom: [:object]
    )

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

Version data entries

44 entries across 44 versions & 1 rubygems

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