Sha256: 2565608c5b4f6bf9f7030e5c71edc7cb659590427af8b15d47b5b9cb1eb6c8e8
Contents?: true
Size: 1.07 KB
Versions: 19
Compression:
Stored size: 1.07 KB
Contents
module FbGraph class Page < Node include Connections::Admins include Connections::Albums include Connections::Blocked include Connections::Checkins include Connections::Events include Connections::Feed include Connections::Groups include Connections::Insights include Connections::Likes include Connections::Links 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
19 entries across 19 versions & 1 rubygems