lib/turntabler/authorized_user.rb
def update_laptop(name)
      assert_valid_values(name, *%w(mac pc linux chrome iphone cake intel android))

      api('user.modify', :laptop => name)
      self.attributes = {'laptop' => name}
      true
    end
def update_laptop(name)
      assert_valid_values(name, *%w(mac pc linux chrome iphone cake intel android))

      api('user.modify', :laptop => name)
      self.attributes = {'laptop' => name}
      true
    end
def update_laptop ( name ) assert_valid_values ( name , %w( mac pc linux chrome iphone cake intel android ) ) api ( 'user.modify' , :laptop => name ) self . attributes = { 'laptop' => name } true end
Updates the laptop currently being used
Updates the laptop currently being used