Class: GustoApi::OauthRequest
- Defined in:
- lib/gusto_api/oauth_request.rb
Instance Method Summary collapse
-
#initialize(method:, params: {}) ⇒ OauthRequest
constructor
A new instance of OauthRequest.
Methods inherited from Request
Constructor Details
#initialize(method:, params: {}) ⇒ OauthRequest
Returns a new instance of OauthRequest.
3 4 5 6 7 8 9 10 11 |
# File 'lib/gusto_api/oauth_request.rb', line 3 def initialize(method:, params: {}) super( endpoint: 'oauth/token', method: method, params: params, auth_token: nil, auth_type: nil ) end |