lib/message.rb in inbox-0.18.2 vs lib/message.rb in inbox-1.0.0

- old
+ new

@@ -66,15 +66,15 @@ hash end def files - @files ||= RestfulModelCollection.new(File, @_api, @namespace_id, {:message_id=>@id}) + @files ||= RestfulModelCollection.new(File, @_api, {:message_id=>@id}) end def raw model = nil - collection = RestfulModelCollection.new(Message, @_api, @namespace_id, {:message_id=>@id}) + collection = RestfulModelCollection.new(Message, @_api, {:message_id=>@id}) RestClient.get("#{collection.url}/#{id}/", :accept => 'message/rfc822'){ |response,request,result| response } end end