Sha256: d89009f5d11d915893eb5a4b756a3fd3f56f04ca7e47b46e3287630ff081b08d

Contents?: true

Size: 348 Bytes

Versions: 21

Compression:

Stored size: 348 Bytes

Contents

module Services
  module Hubspot
    module Companies
      class GetAll
        def initialize(limit: 10)
          @limit = limit
        end

        def call
          basic_api = ::Hubspot::Crm::Companies::BasicApi.new
          results = basic_api.get_page(auth_names: 'oauth2', limit: @limit).results
        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/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-8.0.1 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-8.0.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-7.3.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-7.2.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-7.1.1 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-7.1.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-7.0.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-6.0.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-5.0.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-4.0.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-3.3.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-3.2.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-3.1.1 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-3.1.0.pre.beta sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-3.0.0.pre.beta sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-2.3.2 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-2.3.1 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-2.2.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb
hubspot-api-client-2.1.0 sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb