Sha256: b3425ac18364212c718eac466fbf7645e0f8274d9299edcbb3feee8e8fbeebf2

Contents?: true

Size: 559 Bytes

Versions: 9

Compression:

Stored size: 559 Bytes

Contents

module FbGraph2
  class Photo < Node
    include Edge::Comments
    include Edge::Likes::LikeeContext
    include Edge::Tags

    register_attributes(
      raw: [
        :backdated_time_granularity, :height, :icon, :link, :name, :page_story_id, :picture, :position, :source, :width,
        # NOTE: as cover photo
        :offset_y, :offset_x
      ],
      time: [:backdated_time, :created_time, :updated_time],
      place: [:place],
      profile: [:from],
      album: [:album],
      image_sources: [:images],
      custom: [:name_tags]
    )
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fb_graph2-1.3.0 lib/fb_graph2/photo.rb
fb_graph2-1.2.0 lib/fb_graph2/photo.rb
fb_graph2-1.1.1 lib/fb_graph2/photo.rb
fb_graph2-1.1.0 lib/fb_graph2/photo.rb
fb_graph2-1.0.1 lib/fb_graph2/photo.rb
fb_graph2-1.0.0 lib/fb_graph2/photo.rb
fb_graph2-0.9.1 lib/fb_graph2/photo.rb
fb_graph2-0.9.0 lib/fb_graph2/photo.rb
fb_graph2-0.8.0 lib/fb_graph2/photo.rb