Class: Eligible::OauthToken
- Inherits:
-
APIResource
- Object
- EligibleObject
- APIResource
- Eligible::OauthToken
- Defined in:
- lib/eligible/oauth_token.rb
Instance Attribute Summary
Attributes inherited from EligibleObject
Class Method Summary collapse
Methods inherited from APIResource
api_url, class_name, endpoint_name, require_param, required_param_validation, rest_api_params, send_request, url
Methods inherited from EligibleObject
#[], #[]=, construct_from, #each, #error, #initialize, #keys, #refresh_from, #to_hash, #to_json, #values
Constructor Details
This class inherits a constructor from Eligible::EligibleObject
Class Method Details
.post(params, opts = {}) ⇒ Object
5 6 7 |
# File 'lib/eligible/oauth_token.rb', line 5 def self.post(params, opts = {}) send_request :post, '/oauth/token', params, **opts end |