Module: Tinderb::Request

Included in:
Client
Defined in:
lib/tinderb/request.rb

Instance Method Summary collapse

Instance Method Details

#delete(path, params = {}) ⇒ Object



37
38
39
# File 'lib/tinderb/request.rb', line 37

def delete(path, params = {})
  request(:delete, path, params)
end

#get(path, params = {}) ⇒ Object



25
26
27
# File 'lib/tinderb/request.rb', line 25

def get(path, params = {})
  request(:get, path, params)
end

#post(path, params = {}) ⇒ Object



29
30
31
# File 'lib/tinderb/request.rb', line 29

def post(path, params = {})
  request(:post, path, params)
end

#put(path, params = {}) ⇒ Object



33
34
35
# File 'lib/tinderb/request.rb', line 33

def put(path, params = {})
  request(:put, path, params)
end