lib/rapidash/client.rb in rapidash-0.0.1 vs lib/rapidash/client.rb in rapidash-0.0.2

- old
+ new

@@ -1,9 +1,18 @@ module Rapidash class Client include Clientable + include Resourceable - def initialize - raise ConfigurationError.new "Missing Method, define using `method` on your client" - end + def initialize + raise ConfigurationError.new "Missing Method, define using `method` on your client" + end + + def get(url, options = {}) + request(:get, url, options) + end + + def post(url, options = {}) + request(:post, url, options) + end end end