Class: BambooId::Urls::OauthTokenUrl

Inherits:
Object
  • Object
show all
Includes:
BambooUrl, BaseOauthTokenUrl
Defined in:
lib/bamboo_id/urls/oauth_token_url.rb

Instance Method Summary collapse

Methods included from BaseOauthTokenUrl

#params, #to_s

Constructor Details

#initialize(temporary_code:, subdomain:, grant_type: 'authorization_code') ⇒ OauthTokenUrl

Returns a new instance of OauthTokenUrl.



10
11
12
13
14
# File 'lib/bamboo_id/urls/oauth_token_url.rb', line 10

def initialize(temporary_code:, subdomain:, grant_type: 'authorization_code')
  self.temporary_code = temporary_code
  self.subdomain      = subdomain
  self.grant_type     = grant_type
end