Module: Shopkit::Request

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

Instance Method Summary collapse

Instance Method Details

#delete(path, options = {}, version = api_version) ⇒ Object



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

def delete(path, options={}, version=api_version)
  request(:delete, path, options, version)
end

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



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

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

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



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

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

#put(path, options = {}, version = api_version) ⇒ Object



15
16
17
# File 'lib/shopkit/request.rb', line 15

def put(path, options={}, version=api_version)
  request(:put, path, options, version)
end