Class: GustoApi::TokenRequest
- Defined in:
- lib/gusto_api/token_request.rb
Instance Method Summary collapse
-
#initialize(endpoint:, method:, params: {}) ⇒ TokenRequest
constructor
A new instance of TokenRequest.
Methods inherited from Request
Constructor Details
#initialize(endpoint:, method:, params: {}) ⇒ TokenRequest
Returns a new instance of TokenRequest.
3 4 5 |
# File 'lib/gusto_api/token_request.rb', line 3 def initialize(endpoint:, method:, params: {}) super(endpoint: endpoint, method: method, params: params, auth_token: GustoApi.configuration.api_token, auth_type: 'Token') end |