Class: Trello::Api::Integration
Class Method Summary
collapse
__config_dir__, config, param_check, save_config
Class Method Details
6
7
8
|
# File 'lib/trello/api/integration.rb', line 6
def
{'Authorization' => "token #{config.api_key}"}
end
|
.make_call(method, endpoint, body = {}, headers = {}) ⇒ Object
10
11
12
13
|
# File 'lib/trello/api/integration.rb', line 10
def make_call(method, endpoint, body = {}, = {})
param_check 'url', "You need to specify where your API backend is hosted with 'trello config --url <API URL>'."
super(method, "#{config['url']}#{endpoint}", body, .merge())
end
|