Module: Azimuth::Request

Included in:
Client
Defined in:
lib/azimuth/request.rb

Overview

Methods for HTTP requests

Instance Method Summary collapse

Instance Method Details

#post(path, options = {}) ⇒ Hashie::Mash

Make a HTTP POST request.

Parameters:

  • path (String)

    The path, relative to api_endpoint

  • params (Hash)

    body params for request

Returns:

  • (Hashie::Mash)


11
12
13
# File 'lib/azimuth/request.rb', line 11

def post(path, options={})
  request(:post, path, options)
end