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