Sha256: a45c8c366b5eff902115ac4973661ffb2eedeeee1e64d43590c603d7f6d426f8
Contents?: true
Size: 940 Bytes
Versions: 5
Compression:
Stored size: 940 Bytes
Contents
module FbGraph class Event < Node include Connections::Feed include Connections::Noreply include Connections::Maybe include Connections::Invited include Connections::Attending include Connections::Declined include Connections::Picture attr_accessor :owner, :name, :description, :start_time, :end_time, :location, :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] @start_time = options[:start_time] @end_time = options[:end_time] @location = options[:location] if options[:venue] @venue = FbGraph::Venue.new(options[:venue]) end @privacy = options[:privacy] @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/event.rb |
fb_graph-0.0.6 | lib/fb_graph/event.rb |
fb_graph-0.0.5 | lib/fb_graph/event.rb |
fb_graph-0.0.4 | lib/fb_graph/event.rb |
fb_graph-0.0.3 | lib/fb_graph/event.rb |