Rapidash - a ruby gem to rapidly build your API client
I have created Rapidash a ruby gem to help you make an API client for your RESTful API in a few lines of code.
class Repos < Rapidash::Base
end
class User < Rapidash::Base
resource :repos
end
class Client < Rapidash::Client
resource :users
method :http
site "https://github.com"
end
Client.new.users("Gazler").repos! #Output the repos that belong to Gazler

Comments