Permalink
Browse files

notes

  • Loading branch information...
1 parent 25bb4f1 commit 98acdd6f18f19d35f5b6d0886758768ff93950f6 @chaserx chaserx committed Jul 22, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 app/models/item.rb
View
@@ -38,6 +38,13 @@ def lookup_by_tag_number(tag)
where(tag_number: tag).first
end
+ # create a QR code the contains a URL with something like the following:
+ # https://shopkeeper.collexion.net/item/:item_tag/change_availability
+ # if logged_in? then the item would be checkedout by the current user
+ def create_qr_code_image
+ # best library? method? google?
+ end
+
# Changes the checkedin, checkedout status and timestamp.
def change_availability(user_id)
unless self.lost_item?

0 comments on commit 98acdd6

Please sign in to comment.