Module: BigML::Request

Included in:
Util::Client
Defined in:
lib/big_ml/util/request.rb

Instance Method Summary collapse

Instance Method Details

#delete(path, options = {}, body = {}) ⇒ Object



15
16
17
# File 'lib/big_ml/util/request.rb', line 15

def delete(path, options = {}, body = {})
  self.class.delete(path, prepare_options(options, body))
end

#get(path, options = {}, body = {}) ⇒ Object



3
4
5
# File 'lib/big_ml/util/request.rb', line 3

def get(path, options = {}, body = {})
  self.class.get(path, prepare_options(options, body))
end

#post(path, options = {}, body = {}) ⇒ Object



11
12
13
# File 'lib/big_ml/util/request.rb', line 11

def post(path, options = {}, body = {})
  self.class.post(path, prepare_options(options, body))
end

#put(path, options = {}, body = {}) ⇒ Object



7
8
9
# File 'lib/big_ml/util/request.rb', line 7

def put(path, options = {}, body = {})
  self.class.put(path, prepare_options(options, body))
end