lib/fb_graph/group.rb in fb_graph-0.0.7 vs lib/fb_graph/group.rb in fb_graph-0.0.8

- old
+ new

@@ -12,13 +12,15 @@ @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 - @privacy = options[:privacy] - @updated_time = options[:updated_time] + if options[:updated_time] + @updated_time = Time.parse(options[:updated_time]) + end end end end \ No newline at end of file