Module: Teleflow::Api::Connection

Included in:
Client
Defined in:
lib/teleflow/api/connection.rb

Instance Method Summary collapse

Instance Method Details

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



23
24
25
# File 'lib/teleflow/api/connection.rb', line 23

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

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



7
8
9
# File 'lib/teleflow/api/connection.rb', line 7

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

#patch(path, options = {}) ⇒ Object



19
20
21
# File 'lib/teleflow/api/connection.rb', line 19

def patch(path, options = {})
  request :patch, path, options
end

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



11
12
13
# File 'lib/teleflow/api/connection.rb', line 11

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

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



15
16
17
# File 'lib/teleflow/api/connection.rb', line 15

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