Module: GettyConnect::Request
- Included in:
- Client
- Defined in:
- lib/getty_connect/request.rb
Instance Method Summary collapse
- #delete(path, options = {}, use_ssl = false) ⇒ Object
- #get(path, options = {}, use_ssl = false) ⇒ Object
- #patch(path, options = {}, use_ssl = false) ⇒ Object
- #post(path, options = {}, use_ssl = false) ⇒ Object
- #put(path, options = {}, use_ssl = false) ⇒ Object
Instance Method Details
#delete(path, options = {}, use_ssl = false) ⇒ Object
5 6 7 |
# File 'lib/getty_connect/request.rb', line 5 def delete(path, ={}, use_ssl=false) request(:delete, path, , use_ssl) end |
#get(path, options = {}, use_ssl = false) ⇒ Object
9 10 11 |
# File 'lib/getty_connect/request.rb', line 9 def get(path, ={}, use_ssl=false) request(:get, path, , use_ssl) end |
#patch(path, options = {}, use_ssl = false) ⇒ Object
13 14 15 |
# File 'lib/getty_connect/request.rb', line 13 def patch(path, ={}, use_ssl=false) request(:patch, path, , use_ssl) end |
#post(path, options = {}, use_ssl = false) ⇒ Object
17 18 19 |
# File 'lib/getty_connect/request.rb', line 17 def post(path, ={}, use_ssl=false) request(:post, path, , use_ssl) end |
#put(path, options = {}, use_ssl = false) ⇒ Object
21 22 23 |
# File 'lib/getty_connect/request.rb', line 21 def put(path, ={}, use_ssl=false) request(:put, path, , use_ssl) end |