Sha256: 8f31f4a88b8067142716ac6ec1960a9827988d64764150f645a958c22e4a0135
Contents?: true
Size: 747 Bytes
Versions: 1
Compression:
Stored size: 747 Bytes
Contents
module FbGraph class Group < Node include Connections::Feed include Connections::Members include Connections::Picture attr_accessor :owner, :name, :description, :link, :venue, :privacy, :updated_time def initialize(identifier, options = {}) super if (owner = options[:owner]) @owner = FbGraph::User.new(owner.delete(:id), owner) end @name = options[:name] @description = options[:description] @link = options[:link] @privacy = options[:privacy] if options[:venue] @venue = FbGraph::Venue.new(options[:venue]) end if options[:updated_time] @updated_time = Time.parse(options[:updated_time]) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fb_graph-0.0.8 | lib/fb_graph/group.rb |