Class: HighLevel::TokenResolver::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/high_level/token_resolver.rb

Overview

The outcome of #resolve: the bearer token and the :source symbol it came from (:private_integration_token, :agency_access_token, :location_access_token, or :storage).

Instance Attribute Summary collapse

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



24
25
26
# File 'lib/high_level/token_resolver.rb', line 24

def source
  @source
end

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



24
25
26
# File 'lib/high_level/token_resolver.rb', line 24

def token
  @token
end