Module: OpenAmplify::Request

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

Overview

Handless HTTP requests

Instance Method Summary collapse

Instance Method Details

#get(path, params = {}, options = {}) ⇒ Object



7
8
9
# File 'lib/openamplify/request.rb', line 7

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

#post(path, params = {}, options = {}) ⇒ Object



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

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