Sha256: 75e02c6f79ff8fb9f36f412ff985e602ac7e8b644bdcebde99192b09192ed32b

Contents?: true

Size: 321 Bytes

Versions: 23

Compression:

Stored size: 321 Bytes

Contents

module Services
  module Hubspot
    module Authorization
      class Authorize
        def initialize(tokens:)
          @tokens = tokens
        end

        def call
          ::Hubspot.configure do |config|
            config.access_token = @tokens[:access_token]
          end
        end
      end
    end
  end
end

Version data entries

23 entries across 12 versions & 1 rubygems

Version Path
hubspot-api-client-9.0.0 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-9.0.0 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-8.0.1 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-8.0.1 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-8.0.0 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-8.0.0 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.3.0 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.3.0 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.2.0 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.2.0 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.1.1 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.1.1 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.1.0 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.1.0 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.0.0 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.0.0 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-6.0.0 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-6.0.0 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-5.0.0 sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-5.0.0 sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb