Class: Clerk::Models::Components::SchemasFeatureResponse
- Inherits:
-
Object
- Object
- Clerk::Models::Components::SchemasFeatureResponse
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/schemas_featureresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(object:, id:, name:, description:, slug:, avatar_url:) ⇒ SchemasFeatureResponse
constructor
A new instance of SchemasFeatureResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(object:, id:, name:, description:, slug:, avatar_url:) ⇒ SchemasFeatureResponse
Returns a new instance of SchemasFeatureResponse.
29 30 31 32 33 34 35 36 |
# File 'lib/clerk/models/components/schemas_featureresponse.rb', line 29 def initialize(object:, id:, name:, description:, slug:, avatar_url:) @object = object @id = id @name = name @description = description @slug = slug @avatar_url = avatar_url end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/clerk/models/components/schemas_featureresponse.rb', line 39 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 @name == other.name return false unless @description == other.description return false unless @slug == other.slug return false unless @avatar_url == other.avatar_url true end |