Sha256: a31a12d4532889f29e042f99ec3c467ae4972144922f83ff2d9e4f9f8e4c4de5

Contents?: true

Size: 368 Bytes

Versions: 3

Compression:

Stored size: 368 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fb_graph2-0.0.5 lib/fb_graph2/notification.rb
fb_graph2-0.0.4 lib/fb_graph2/notification.rb
fb_graph2-0.0.3 lib/fb_graph2/notification.rb