Sha256: 0d943a04c2a7989aefe7541cdf8aecce20eee4c1ceb14cfa267898c2c79ec123
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
module FbGraph class Page < Node include Connections::Feed include Connections::Picture include Connections::Tagged include Connections::Links include Connections::Photos include Connections::Groups include Connections::Albums include Connections::Statuses include Connections::Videos include Connections::Notes include Connections::Posts include Connections::Members include Connections::Events extend Searchable attr_accessor :name, :link, :category, :founded, :company_overview, :mission, :products, :fan_count def initialize(identifier, attributes = {}) super @name = attributes[:name] @link = attributes[:link] @category = attributes[:category] @founded = attributes[:founded] @company_overview = attributes[:company_overview] @mission = attributes[:mission] if (products = attributes[:products]) @products = products.split "\n" end @fan_count = attributes[:fan_count] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fb_graph-0.7.1 | lib/fb_graph/page.rb |