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