Class: WorkOS::OrganizationDomainVerificationFailedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::OrganizationDomainVerificationFailedData
- Defined in:
- lib/workos/organization_domains/organization_domain_verification_failed_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ reason: :reason, organization_domain: :organization_domain }.freeze
Instance Attribute Summary collapse
-
#organization_domain ⇒ Object
Returns the value of attribute organization_domain.
-
#reason ⇒ Object
Returns the value of attribute reason.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ OrganizationDomainVerificationFailedData
constructor
A new instance of OrganizationDomainVerificationFailedData.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ OrganizationDomainVerificationFailedData
Returns a new instance of OrganizationDomainVerificationFailedData.
16 17 18 19 20 |
# File 'lib/workos/organization_domains/organization_domain_verification_failed_data.rb', line 16 def initialize(json) hash = self.class.normalize(json) @reason = hash[:reason] @organization_domain = hash[:organization_domain] ? WorkOS::OrganizationDomainVerificationFailedDataOrganizationDomain.new(hash[:organization_domain]) : nil end |
Instance Attribute Details
#organization_domain ⇒ Object
Returns the value of attribute organization_domain.
12 13 14 |
# File 'lib/workos/organization_domains/organization_domain_verification_failed_data.rb', line 12 def organization_domain @organization_domain end |
#reason ⇒ Object
Returns the value of attribute reason.
12 13 14 |
# File 'lib/workos/organization_domains/organization_domain_verification_failed_data.rb', line 12 def reason @reason end |