Module: Slack::Web::Faraday::Request

Included in:
Client
Defined in:
lib/slack/web/faraday/request.rb

Instance Method Summary collapse

Instance Method Details

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



18
19
20
# File 'lib/slack/web/faraday/request.rb', line 18

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

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



6
7
8
# File 'lib/slack/web/faraday/request.rb', line 6

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

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



10
11
12
# File 'lib/slack/web/faraday/request.rb', line 10

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

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



14
15
16
# File 'lib/slack/web/faraday/request.rb', line 14

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