Class: WorkOS::DomainVerificationIntentOptions

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/workos/admin_portal/domain_verification_intent_options.rb

Constant Summary collapse

HASH_ATTRS =
{
  domain_name: :domain_name
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ DomainVerificationIntentOptions

Returns a new instance of DomainVerificationIntentOptions.



13
14
15
16
# File 'lib/workos/admin_portal/domain_verification_intent_options.rb', line 13

def initialize(json)
  hash = self.class.normalize(json)
  @domain_name = hash[:domain_name]
end

Instance Attribute Details

#domain_nameObject

Returns the value of attribute domain_name.



11
12
13
# File 'lib/workos/admin_portal/domain_verification_intent_options.rb', line 11

def domain_name
  @domain_name
end