NetDNA REST Web Services Ruby Client
Installation
gem install netdnarws
Usage
require 'netdnarws'
api = NetDNARWS::NetDNA.new("myalias", "consumer_key", "consumer_secret")
api.get("/account.json")
Methods
It has support for GET, POST, PUT and DELETE ouath signed requests.
Every request can take an optional debug parameter.
api.get("/account.json", :debug => true)
# Will output
# Making GET request to http://rws.netdna.com/myalias/account.json
#{... API Returned Stuff ...}