Sha256: 6c8e8df8475adfa4a8e80408d302412046dc4bb32b167e292f712e0a12772884
Contents?: true
Size: 775 Bytes
Versions: 5
Compression:
Stored size: 775 Bytes
Contents
module FbGraph class Album < Node include Connections::Photos include Connections::Comments attr_accessor :from, :name, :description, :location, :link, :count, :created_time, :updated_time def initialize(identifier, options = {}) super if (from = options[:from]) @from = if from[:category] FbGraph::Page.new(from.delete(:id), from) else FbGraph::User.new(from.delete(:id), from) end end @name = options[:name] @description = options[:description] @location = options[:location] @link = options[:link] @count = options[:count] @created_time = options[:created_time] @updated_time = options[:updated_time] end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
fb_graph-0.0.7 | lib/fb_graph/album.rb |
fb_graph-0.0.6 | lib/fb_graph/album.rb |
fb_graph-0.0.5 | lib/fb_graph/album.rb |
fb_graph-0.0.4 | lib/fb_graph/album.rb |
fb_graph-0.0.3 | lib/fb_graph/album.rb |