Sha256: c1484dda54ab330cf34d147d18dca0f41fa090eb754ae7557356c7d680949fd7

Contents?: true

Size: 293 Bytes

Versions: 7

Compression:

Stored size: 293 Bytes

Contents

module Services
  module Trello
    module Webhooks
      class Delete
        def initialize(webhook_id:)
          @webhook_id = webhook_id
        end

        def call
          webhook = ::Trello::Webhook.find(@webhook_id)

          webhook.delete
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hubspot-api-client-9.0.0 sample-apps/trello-integration-app/app/lib/services/trello/webhooks/delete.rb
hubspot-api-client-8.0.1 sample-apps/trello-integration-app/app/lib/services/trello/webhooks/delete.rb
hubspot-api-client-8.0.0 sample-apps/trello-integration-app/app/lib/services/trello/webhooks/delete.rb
hubspot-api-client-7.3.0 sample-apps/trello-integration-app/app/lib/services/trello/webhooks/delete.rb
hubspot-api-client-7.2.0 sample-apps/trello-integration-app/app/lib/services/trello/webhooks/delete.rb
hubspot-api-client-7.1.1 sample-apps/trello-integration-app/app/lib/services/trello/webhooks/delete.rb
hubspot-api-client-7.1.0 sample-apps/trello-integration-app/app/lib/services/trello/webhooks/delete.rb