README.md in darksky_ruby_client-0.0.1 vs README.md in darksky_ruby_client-0.0.2
- old
+ new
@@ -21,10 +21,17 @@
$ gem install darksky_ruby_client
## Usage
-TODO: Write usage instructions here
+```ruby
+require 'darksky_ruby_client'
+options = {
+ :extend => "hourly"
+}
+client = DarkskyRubyClient::Client.new('your Dark Sky secret key')
+client.weather_forecast('latitude', 'longitude', options).run
+```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.