Sha256: 141f5e2785685dc2fd8bd216c77439ac68afe609d167b3041f92baa64dff71d6

Contents?: true

Size: 345 Bytes

Versions: 7

Compression:

Stored size: 345 Bytes

Contents

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hubspot-api-client-9.0.0 sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-8.0.1 sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-8.0.0 sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.3.0 sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.2.0 sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.1.1 sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/authorize.rb
hubspot-api-client-7.1.0 sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/authorize.rb