Class: AddonsApi::Client::OAuth
- Inherits:
-
Object
- Object
- AddonsApi::Client::OAuth
- Defined in:
- lib/addons-api/client.rb
Overview
Addon services represent addons that may be provisioned for apps.
Defined Under Namespace
Classes: Token
Constant Summary collapse
- BASE_PATH =
"oauth"
Instance Method Summary collapse
-
#initialize(client) ⇒ OAuth
constructor
A new instance of OAuth.
- #token ⇒ Object
Constructor Details
#initialize(client) ⇒ OAuth
Returns a new instance of OAuth.
118 119 120 |
# File 'lib/addons-api/client.rb', line 118 def initialize(client) @client = client end |
Instance Method Details
#token ⇒ Object
122 123 124 |
# File 'lib/addons-api/client.rb', line 122 def token @token_resource ||= Token.new(@client) end |