Class: BambooId::Urls::ApiKeyUrl
- Inherits:
-
Object
- Object
- BambooId::Urls::ApiKeyUrl
- Defined in:
- lib/bamboo_id/urls/api_key_url.rb
Instance Method Summary collapse
-
#initialize(subdomain:, id_token:) ⇒ ApiKeyUrl
constructor
A new instance of ApiKeyUrl.
- #params ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(subdomain:, id_token:) ⇒ ApiKeyUrl
Returns a new instance of ApiKeyUrl.
4 5 6 7 |
# File 'lib/bamboo_id/urls/api_key_url.rb', line 4 def initialize(subdomain:, id_token:) self.subdomain = subdomain self.id_token = id_token end |
Instance Method Details
#params ⇒ Object
13 14 15 16 17 18 |
# File 'lib/bamboo_id/urls/api_key_url.rb', line 13 def params { id_token: id_token, applicationKey: Configuration.application_key } end |
#to_s ⇒ Object
9 10 11 |
# File 'lib/bamboo_id/urls/api_key_url.rb', line 9 def to_s "https://api.bamboohr.com/api/gateway.php/#{subdomain}/v1/oidcLogin" end |