Class: Clerk::Models::Components::VerificationSCIMSCIM
- Inherits:
-
Object
- Object
- Clerk::Models::Components::VerificationSCIMSCIM
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/verification_scim_scim.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(status:, strategy:, object: nil, attempts: nil, expire_at: nil) ⇒ VerificationSCIMSCIM
constructor
A new instance of VerificationSCIMSCIM.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(status:, strategy:, object: nil, attempts: nil, expire_at: nil) ⇒ VerificationSCIMSCIM
Returns a new instance of VerificationSCIMSCIM.
27 28 29 30 31 32 33 |
# File 'lib/clerk/models/components/verification_scim_scim.rb', line 27 def initialize(status:, strategy:, object: nil, attempts: nil, expire_at: nil) @status = status @strategy = strategy @object = object @attempts = attempts @expire_at = expire_at end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/clerk/models/components/verification_scim_scim.rb', line 36 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 @object == other.object return false unless @attempts == other.attempts return false unless @expire_at == other.expire_at true end |