Class: Gusto::AsyncClient::Options
- Inherits:
-
Object
- Object
- Gusto::AsyncClient::Options
- Defined in:
- lib/fern_gusto.rb
Overview
Options for initializing the Gusto async client
Instance Attribute Summary collapse
-
#auth ⇒ SystemAccessTokenAuth, ...
Authentication configuration.
-
#environment ⇒ Gusto::Environment
The Gusto environment to connect to.
Instance Method Summary collapse
-
#initialize(environment:, auth:) ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize(environment:, auth:) ⇒ Options
Returns a new instance of Options.
168 169 170 171 |
# File 'lib/fern_gusto.rb', line 168 def initialize(environment:, auth:) @environment = environment @auth = auth end |
Instance Attribute Details
#auth ⇒ SystemAccessTokenAuth, ...
Returns Authentication configuration.
164 165 166 |
# File 'lib/fern_gusto.rb', line 164 def auth @auth end |
#environment ⇒ Gusto::Environment
Returns The Gusto environment to connect to.
162 163 164 |
# File 'lib/fern_gusto.rb', line 162 def environment @environment end |