Class: SnapDeploy::Provider::Heroku::API::OauthGrant

Inherits:
Object
  • Object
show all
Defined in:
lib/snap_deploy/provider/heroku/api.rb

Overview

OAuth grants are used to obtain authorizations on behalf of a user. For more information please refer to the [Heroku OAuth documentation](devcenter.heroku.com/articles/oauth)

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ OauthGrant

Returns a new instance of OauthGrant.



1111
1112
1113
# File 'lib/snap_deploy/provider/heroku/api.rb', line 1111

def initialize(client)
  @client = client
end