Class: WorkOS::ApiKeyDataIntegrationVendedCredential
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::ApiKeyDataIntegrationVendedCredential
- Defined in:
- lib/workos/api_keys/api_key_data_integration_vended_credential.rb
Constant Summary collapse
- HASH_ATTRS =
{ object: :object, auth_method: :auth_method, value: :value, config: :config }.freeze
Instance Attribute Summary collapse
-
#auth_method ⇒ Object
Returns the value of attribute auth_method.
-
#config ⇒ Object
Returns the value of attribute config.
-
#object ⇒ Object
Returns the value of attribute object.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(json) ⇒ ApiKeyDataIntegrationVendedCredential
constructor
A new instance of ApiKeyDataIntegrationVendedCredential.
Constructor Details
#initialize(json) ⇒ ApiKeyDataIntegrationVendedCredential
Returns a new instance of ApiKeyDataIntegrationVendedCredential.
20 21 22 23 24 25 26 |
# File 'lib/workos/api_keys/api_key_data_integration_vended_credential.rb', line 20 def initialize(json) hash = self.class.normalize(json) @object = hash[:object] @auth_method = hash[:auth_method] @value = hash[:value] @config = hash[:config] || {} end |
Instance Attribute Details
#auth_method ⇒ Object
Returns the value of attribute auth_method.
14 15 16 |
# File 'lib/workos/api_keys/api_key_data_integration_vended_credential.rb', line 14 def auth_method @auth_method end |
#config ⇒ Object
Returns the value of attribute config.
14 15 16 |
# File 'lib/workos/api_keys/api_key_data_integration_vended_credential.rb', line 14 def config @config end |
#object ⇒ Object
Returns the value of attribute object.
14 15 16 |
# File 'lib/workos/api_keys/api_key_data_integration_vended_credential.rb', line 14 def object @object end |
#value ⇒ Object
Returns the value of attribute value.
14 15 16 |
# File 'lib/workos/api_keys/api_key_data_integration_vended_credential.rb', line 14 def value @value end |