Method: Gourmand#update_time
- Defined in:
- lib/gourmand.rb
#update_time ⇒ Object
100 101 102 103 104 105 106 |
# File 'lib/gourmand.rb', line 100 def update_time puts "Checking the server for last update time" sleep 1 time = Delicious.get("/posts/update")["update"]["time"] puts "last updated at #{time}" time end |