README.md in godaddy-api-0.1.0 vs README.md in godaddy-api-0.1.1
- old
+ new
@@ -1,7 +1,8 @@
# godaddy-api
+[](http://badge.fury.io/rb/godaddy-api)
[](https://gemnasium.com/blueicefield/ruby-godaddy-api)
[](https://codeclimate.com/github/blueicefield/ruby-godaddy-api)
## Description
@@ -30,10 +31,13 @@
```ruby
require 'godaddy/api'
api = Godaddy::Api.new apikey, apisecret
+# To use the OTE endpoint, specify them as the 3rd argument
+# api = Godaddy::Api.new apikey, apisecret, "https://api.ote-godaddy.com/"
+
result = api.get('/v1/domains')
puts result
=>
[
@@ -60,10 +64,14 @@
puts result
=>
{}
```
+## ToDo
+
+- Write tests.
+
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
@@ -74,6 +82,5 @@
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
-