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