Class: Clerk::Models::Components::OrganizationDomainVerification
- Inherits:
-
Object
- Object
- Clerk::Models::Components::OrganizationDomainVerification
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/organizationdomain_verification.rb
Overview
Verification details for the domain
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(status:, strategy:, attempts: nil, expire_at: nil) ⇒ OrganizationDomainVerification
constructor
A new instance of OrganizationDomainVerification.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(status:, strategy:, attempts: nil, expire_at: nil) ⇒ OrganizationDomainVerification
Returns a new instance of OrganizationDomainVerification.
25 26 27 28 29 30 |
# File 'lib/clerk/models/components/organizationdomain_verification.rb', line 25 def initialize(status:, strategy:, attempts: nil, expire_at: nil) @status = status @strategy = strategy @attempts = attempts @expire_at = expire_at end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/clerk/models/components/organizationdomain_verification.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @status == other.status return false unless @strategy == other.strategy return false unless @attempts == other.attempts return false unless @expire_at == other.expire_at true end |