Class: AddonsApi::Client::OAuth

Inherits:
Object
  • Object
show all
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

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

#tokenObject



122
123
124
# File 'lib/addons-api/client.rb', line 122

def token
  @token_resource ||= Token.new(@client)
end