Class: Clerk::Models::Operations::CreateAllowlistIdentifierRequest
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::CreateAllowlistIdentifierRequest
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/createallowlistidentifier_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(identifier:, notify: false) ⇒ CreateAllowlistIdentifierRequest
constructor
A new instance of CreateAllowlistIdentifierRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(identifier:, notify: false) ⇒ CreateAllowlistIdentifierRequest
Returns a new instance of CreateAllowlistIdentifierRequest.
23 24 25 26 |
# File 'lib/clerk/models/operations/createallowlistidentifier_request.rb', line 23 def initialize(identifier:, notify: false) @identifier = identifier @notify = notify end |
Instance Method Details
#==(other) ⇒ Object
29 30 31 32 33 34 |
# File 'lib/clerk/models/operations/createallowlistidentifier_request.rb', line 29 def ==(other) return false unless other.is_a? self.class return false unless @identifier == other.identifier return false unless @notify == other.notify true end |