lib/fb_graph/note.rb in fb_graph-1.2.1 vs lib/fb_graph/note.rb in fb_graph-1.2.2

- old
+ new

@@ -7,13 +7,13 @@ def initialize(identifier, attributes = {}) super if (from = attributes[:from]) @from = if from[:category] - FbGraph::Page.new(from.delete(:id), from) + Page.new(from.delete(:id), from) else - FbGraph::User.new(from.delete(:id), from) + User.new(from.delete(:id), from) end end @subject = attributes[:subject] @message = attributes[:message] if attributes[:created_time] @@ -23,9 +23,9 @@ @updated_time = Time.parse(attributes[:updated_time]).utc end @icon = attributes[:icon] # cached connection - @_comments_ = FbGraph::Collection.new(attributes[:comments]) + @_comments_ = Collection.new(attributes[:comments]) end end end \ No newline at end of file