Module: SBA::Client::Request
- Included in:
- SBA::Client
- Defined in:
- lib/sba/client/request.rb
Instance Method Summary collapse
- #delete(path, options = {}, raw = false) ⇒ Object
- #get(path, options = {}, raw = false) ⇒ Object
- #post(path, options = {}, raw = false) ⇒ Object
- #put(path, options = {}, raw = false) ⇒ Object
Instance Method Details
#delete(path, options = {}, raw = false) ⇒ Object
16 17 18 |
# File 'lib/sba/client/request.rb', line 16 def delete(path, ={}, raw=false) request(:delete, path, , raw) end |
#get(path, options = {}, raw = false) ⇒ Object
4 5 6 |
# File 'lib/sba/client/request.rb', line 4 def get(path, ={}, raw=false) request(:get, path, , raw) end |
#post(path, options = {}, raw = false) ⇒ Object
8 9 10 |
# File 'lib/sba/client/request.rb', line 8 def post(path, ={}, raw=false) request(:post, path, , raw) end |
#put(path, options = {}, raw = false) ⇒ Object
12 13 14 |
# File 'lib/sba/client/request.rb', line 12 def put(path, ={}, raw=false) request(:put, path, , raw) end |