Module: ActiveConnectDataIntegrations::Httparty
- Extended by:
- ActiveSupport::Concern
- Included in:
- ActiveConnect::ActiveConnectData
- Defined in:
- app/models/concerns/active_connect_data_integrations/httparty.rb
Instance Method Summary collapse
Instance Method Details
#httparty_update_data ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'app/models/concerns/active_connect_data_integrations/httparty.rb', line 10 def httparty_update_data @tries = 0 = { headers: headers_settings, timeout: request_timeout } .merge!(proxy_settings) if proxy_settings data = send_request() data = { status: data.code, body: data.body } save_data(data) data end |