Sha256: 233714735c5e4430116d7e55cba3ce265a258d1e848d721c0d39d036286183e4
Contents?: true
Size: 559 Bytes
Versions: 12
Compression:
Stored size: 559 Bytes
Contents
module Services module Hubspot module Webhooks class ConfigureTargetUrl def initialize(app_id:, target_url:) @app_id = app_id @target_url = target_url end def call ::Hubspot::Webhooks::SettingsApi.new.configure( @app_id, settings_change_request(@target_url) ) end private def settings_change_request(target_url) ::Hubspot::Webhooks::SettingsChangeRequest.new(target_url: target_url) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems