Class: HermesAPI::OAuth
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- HermesAPI::OAuth
- Defined in:
- lib/hermes_api/resources/o_auth.rb
Instance Method Summary collapse
-
#initialize(attributes = {}, persisted = false) ⇒ OAuth
constructor
A new instance of OAuth.
Constructor Details
#initialize(attributes = {}, persisted = false) ⇒ OAuth
Returns a new instance of OAuth.
7 8 9 10 11 12 13 |
# File 'lib/hermes_api/resources/o_auth.rb', line 7 def initialize(attributes = {}, persisted = false) attributes = { grant_type: "client_credentials", **attributes } super end |