Class: Moov::SDKHooks::Credentials
- Inherits:
-
Object
- Object
- Moov::SDKHooks::Credentials
- Extended by:
- T::Sig
- Defined in:
- lib/moov/sdk_hooks/clientcredentials.rb
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
readonly
Returns the value of attribute additional_properties.
-
#client_id ⇒ Object
readonly
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
readonly
Returns the value of attribute client_secret.
-
#scopes ⇒ Object
readonly
Returns the value of attribute scopes.
-
#token_url ⇒ Object
readonly
Returns the value of attribute token_url.
Instance Method Summary collapse
-
#initialize(client_id:, client_secret:, token_url:, scopes: nil, additional_properties: {}) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(client_id:, client_secret:, token_url:, scopes: nil, additional_properties: {}) ⇒ Credentials
Returns a new instance of Credentials.
42 43 44 45 46 47 48 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 42 def initialize(client_id:, client_secret:, token_url:, scopes: nil, additional_properties: {}) @client_id = client_id @client_secret = client_secret @token_url = token_url @scopes = scopes @additional_properties = additional_properties end |
Instance Attribute Details
#additional_properties ⇒ Object (readonly)
Returns the value of attribute additional_properties.
31 32 33 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 31 def additional_properties @additional_properties end |
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id.
19 20 21 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 19 def client_id @client_id end |
#client_secret ⇒ Object (readonly)
Returns the value of attribute client_secret.
22 23 24 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 22 def client_secret @client_secret end |
#scopes ⇒ Object (readonly)
Returns the value of attribute scopes.
28 29 30 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 28 def scopes @scopes end |
#token_url ⇒ Object (readonly)
Returns the value of attribute token_url.
25 26 27 |
# File 'lib/moov/sdk_hooks/clientcredentials.rb', line 25 def token_url @token_url end |