Module: Shopkit::Request
- Included in:
- Client
- Defined in:
- lib/shopkit/request.rb
Instance Method Summary collapse
- #delete(path, options = {}, version = api_version) ⇒ Object
- #get(path, options = {}, version = api_version) ⇒ Object
- #post(path, options = {}, version = api_version) ⇒ Object
- #put(path, options = {}, version = api_version) ⇒ Object
Instance Method Details
#delete(path, options = {}, version = api_version) ⇒ Object
3 4 5 |
# File 'lib/shopkit/request.rb', line 3 def delete(path, ={}, version=api_version) request(:delete, path, , version) end |
#get(path, options = {}, version = api_version) ⇒ Object
7 8 9 |
# File 'lib/shopkit/request.rb', line 7 def get(path, ={}, version=api_version) request(:get, path, , version) end |
#post(path, options = {}, version = api_version) ⇒ Object
11 12 13 |
# File 'lib/shopkit/request.rb', line 11 def post(path, ={}, version=api_version) request(:post, path, , version) end |
#put(path, options = {}, version = api_version) ⇒ Object
15 16 17 |
# File 'lib/shopkit/request.rb', line 15 def put(path, ={}, version=api_version) request(:put, path, , version) end |