Sha256: 55e2027d11440028a8a5255f156888ebff1346608baf9c2b22d48b20b72ff4b2

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

module Rapidash
  class Client
    include Clientable
    include Resourceable

    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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rapidash-0.0.2 lib/rapidash/client.rb