Sha256: 10eb75c9e6ef65b152941bab228ff91d06c039212ac77452b68f382236c5dc19

Contents?: true

Size: 511 Bytes

Versions: 1

Compression:

Stored size: 511 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

    def put(url, options = {})
      request(:put, url, options)
    end

    def delete(url, options = {})
      request(:delete, url, options)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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