Method: Morpheus::LogSettingsInterface#update

Defined in:
lib/morpheus/api/log_settings_interface.rb

#update(payload, params = {}) ⇒ Object



15
16
17
18
19
# File 'lib/morpheus/api/log_settings_interface.rb', line 15

def update(payload, params={})
  url = base_path
  headers = { params: params, :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' }
  execute(method: :put, url: url, headers: headers, payload: payload.to_json)
end