Sha256: 0a9dd648bdd214b55285809296b3b993b640d3b77227aa60f9ecf95b4541f368
Contents?: true
Size: 1.15 KB
Versions: 4
Compression:
Stored size: 1.15 KB
Contents
module FbGraph class Page < Node include Connections::Admins include Connections::Albums include Connections::Blocked include Connections::Checkins include Connections::Conversations include Connections::Events include Connections::Feed include Connections::Groups include Connections::Insights include Connections::Likes include Connections::Links include Connections::Milestones include Connections::Notes include Connections::Photos include Connections::Picture include Connections::Posts include Connections::Questions include Connections::Settings include Connections::Statuses include Connections::Tabs include Connections::Tagged include Connections::Videos extend Searchable attr_accessor :name, :username, :category, :like_count, :talking_about_count def initialize(identifier, attributes = {}) super [:name, :username, :category, :talking_about_count].each do |key| self.send :"#{key}=", attributes[key] end @like_count = attributes[:likes] || attributes[:fan_count] end end end require 'fb_graph/page/category_attributes'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fb_graph-2.4.17 | lib/fb_graph/page.rb |
fb_graph-2.4.16 | lib/fb_graph/page.rb |
fb_graph-2.4.15 | lib/fb_graph/page.rb |
fb_graph-2.4.14 | lib/fb_graph/page.rb |