Sha256: a9dfd056f47764cde125f4b1fe86527f5052026e11905d283ba42832e95ffd2a

Contents?: true

Size: 325 Bytes

Versions: 32

Compression:

Stored size: 325 Bytes

Contents

module Services
  module Hubspot
    module Properties
      class Destroy
        def initialize(name)
          @name = name
        end

        def call
          core_api = ::Hubspot::Crm::Properties::CoreApi.new
          core_api.archive('contact', @name, auth_names: 'oauth2')
        end
      end
    end
  end
end

Version data entries

32 entries across 21 versions & 1 rubygems

Version Path
hubspot-api-client-4.0.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-4.0.0 sample-apps/search-result-paging-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-3.3.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-3.2.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-3.1.1 sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-3.1.0.pre.beta sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-3.0.0.pre.beta sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-2.3.2 sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-2.3.1 sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-2.2.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-2.1.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb
hubspot-api-client-2.0.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb