Class: GustoApi::BearerRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/gusto_api/bearer_request.rb

Instance Method Summary collapse

Methods inherited from Request

#submit

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