Module: Shirtsio::Request

Included in:
API
Defined in:
lib/shirtsio/request.rb

Instance Method Summary collapse

Instance Method Details

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



3
4
5
# File 'lib/shirtsio/request.rb', line 3

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

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



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

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