Sha256: ff918ed4e73a88691daee27634f79f21f9bfea3a7dc01b0a82ab16e3b6876dcf

Contents?: true

Size: 305 Bytes

Versions: 42

Compression:

Stored size: 305 Bytes

Contents

module Services
  module Hubspot
    module Contacts
      class Destroy
        def initialize(id)
          @id = id
        end

        def call
          basic_api = ::Hubspot::Crm::Contacts::BasicApi.new
          basic_api.archive(@id, auth_names: 'oauth2')
        end
      end
    end
  end
end

Version data entries

42 entries across 21 versions & 1 rubygems

Version Path
hubspot-api-client-9.0.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-9.0.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-8.0.1 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-8.0.1 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-8.0.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-8.0.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.3.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.3.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.2.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.2.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.1.1 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.1.1 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.1.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.1.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.0.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-7.0.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-6.0.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-6.0.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-5.0.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-5.0.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb