Module: Spice::Request
- Included in:
- Connection
- Defined in:
- lib/spice/request.rb,
lib/spice/request/auth.rb
Defined Under Namespace
Classes: Auth
Instance Method Summary collapse
- #delete(path, params = {}, options = Mash.new) ⇒ Object
- #get(path, params = {}, options = Mash.new) ⇒ Object
- #post(path, params = {}, options = Mash.new) ⇒ Object
- #put(path, params = {}, options = Mash.new) ⇒ Object
Instance Method Details
#delete(path, params = {}, options = Mash.new) ⇒ Object
22 23 24 |
# File 'lib/spice/request.rb', line 22 def delete(path, params={}, =Mash.new) request(:delete, path, params, ) end |
#get(path, params = {}, options = Mash.new) ⇒ Object
10 11 12 |
# File 'lib/spice/request.rb', line 10 def get(path, params={}, =Mash.new) request(:get, path, params, ) end |
#post(path, params = {}, options = Mash.new) ⇒ Object
14 15 16 |
# File 'lib/spice/request.rb', line 14 def post(path, params={}, =Mash.new) request(:post, path, params, ) end |
#put(path, params = {}, options = Mash.new) ⇒ Object
18 19 20 |
# File 'lib/spice/request.rb', line 18 def put(path, params={}, =Mash.new) request(:put, path, params, ) end |