Class: Clerk::Models::Components::RedirectURL
- Inherits:
-
Object
- Object
- Clerk::Models::Components::RedirectURL
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/redirecturl.rb
Overview
List of Redirect URLs
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(object:, id:, url:, created_at:, updated_at:) ⇒ RedirectURL
constructor
A new instance of RedirectURL.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(object:, id:, url:, created_at:, updated_at:) ⇒ RedirectURL
Returns a new instance of RedirectURL.
29 30 31 32 33 34 35 |
# File 'lib/clerk/models/components/redirecturl.rb', line 29 def initialize(object:, id:, url:, created_at:, updated_at:) @object = object @id = id @url = url @created_at = created_at @updated_at = updated_at end |
Instance Method Details
#==(other) ⇒ Object
38 39 40 41 42 43 44 45 46 |
# File 'lib/clerk/models/components/redirecturl.rb', line 38 def ==(other) return false unless other.is_a? self.class return false unless @object == other.object return false unless @id == other.id return false unless @url == other.url return false unless @created_at == other.created_at return false unless @updated_at == other.updated_at true end |