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-4.0.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-4.0.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.3.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.3.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.2.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.2.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.1.1 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.1.1 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.1.0.pre.beta sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.1.0.pre.beta sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.0.0.pre.beta sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-3.0.0.pre.beta sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-2.3.2 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-2.3.2 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-2.3.1 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-2.3.1 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-2.2.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-2.2.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-2.1.0 sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb
hubspot-api-client-2.1.0 sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb