Sha256: d9aac47ff2f4bace92863cfd752f57b1ad8423eabd98a27198b83cc650848278

Contents?: true

Size: 282 Bytes

Versions: 156

Compression:

Stored size: 282 Bytes

Contents

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

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

Version data entries

156 entries across 22 versions & 1 rubygems

Version Path
hubspot-api-client-9.0.0 sample-apps/companies-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-9.0.0 sample-apps/leaky-bucket-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-9.0.0 sample-apps/contacts-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-9.0.0 sample-apps/imports-contacts-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-9.0.0 sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-9.0.0 sample-apps/oauth-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-9.0.0 sample-apps/retry-middleware-sample-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-9.0.0 sample-apps/timeline-events-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.1 sample-apps/contacts-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.1 sample-apps/imports-contacts-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.1 sample-apps/timeline-events-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.1 sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.1 sample-apps/retry-middleware-sample-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.1 sample-apps/companies-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.1 sample-apps/leaky-bucket-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.1 sample-apps/oauth-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.0 sample-apps/imports-contacts-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.0 sample-apps/leaky-bucket-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.0 sample-apps/contacts-app/app/lib/services/authorization/authorize_hubspot.rb
hubspot-api-client-8.0.0 sample-apps/timeline-events-app/app/lib/services/authorization/authorize_hubspot.rb