Make system unable to check out already checked out items
[cs356-p2-videostore.git] / app / models / game.rb
index efdb260..872b45a 100644 (file)
@@ -6,4 +6,10 @@ class Game < Rentable
     # FIXME: generate this based on day of week, newrelase
     return 11
   end
+
+  def due_date
+    # FIXME: generate this based on the day of week, newrelease
+    return Time.now.advance(:days => 2).to_date
+  end
+
 end