Class: HubSpotSDK::Resources::Auth
- Inherits:
-
Object
- Object
- HubSpotSDK::Resources::Auth
- Defined in:
- lib/hubspot_sdk/resources/auth.rb,
lib/hubspot_sdk/resources/auth/oauth.rb
Defined Under Namespace
Classes: OAuth
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(client:) ⇒ Auth
constructor
private
A new instance of Auth.
Constructor Details
#initialize(client:) ⇒ Auth
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Auth.
12 13 14 15 |
# File 'lib/hubspot_sdk/resources/auth.rb', line 12 def initialize(client:) @client = client @oauth = HubSpotSDK::Resources::Auth::OAuth.new(client: client) end |
Instance Attribute Details
#oauth ⇒ HubSpotSDK::Resources::Auth::OAuth (readonly)
7 8 9 |
# File 'lib/hubspot_sdk/resources/auth.rb', line 7 def oauth @oauth end |