Sha256: 9f2e478214c57d08899f228ef3c9e0b56783822f738d2f8619f3ae06f4098531

Contents?: true

Size: 380 Bytes

Versions: 21

Compression:

Stored size: 380 Bytes

Contents

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

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hubspot-api-client-9.0.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-8.0.1 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-8.0.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-7.3.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-7.2.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-7.1.1 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-7.1.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-7.0.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-6.0.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-5.0.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-4.0.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-3.3.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-3.2.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-3.1.1 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-3.1.0.pre.beta sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-3.0.0.pre.beta sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-2.3.2 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-2.3.1 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-2.2.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb
hubspot-api-client-2.1.0 sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb