Permalink
Browse files

Update readme.

  • Loading branch information...
1 parent 97327fe commit 72160f24dfce5bf8865afb22eda250b28ce4ef1d @ejholmes committed Apr 28, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 README.md
View
@@ -128,6 +128,21 @@ part.best_offer.prices
# => [[1, 14.67, "USD"], [10, 13.69, "USD"], [30, 12.84, "USD"]]
```
+* * *
+
+**.best_price**
+
+```ruby
+part = Octopart::Part.find(39619421)
+# => #<Octopart::Part >
+
+part.best_price
+# => 14.67
+
+part.best_price(100)
+# => 12.84
+```
+
## Contributing
1. Fork it

0 comments on commit 72160f2

Please sign in to comment.