Permalink
Browse files

updated readme to reflect 0.0.2 changes to the api

  • Loading branch information...
1 parent fa41cc8 commit 014b69a4b8b0f2c8b2692d9fce443756e51c8ada @chrisbaglieri chrisbaglieri committed Aug 18, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.md
View
@@ -29,9 +29,11 @@ Fetch all the earthquakes from the past hour:
events = Quake::Event.last_hour
-Fetch all the earthquakes from the past week with a magnitude of at least 2:
+Fetch all the earthquakes from the past [week|day|hour] with minimum and/or maximum magnitudes:
- events = Quake::Event.last_week(2)
+ events = Quake::Event.last_week :min_magnitude => 3
+ events = Quake::Event.last_week :max_magnitude => 4
+ events = Quake::Event.last_week :min_magnitude => 3, :max_magnitude => 4
Questions or Problems?
----------------------

0 comments on commit 014b69a

Please sign in to comment.