Class: StackOne::Models::Shared::LinkedAccountMeta
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::LinkedAccountMeta
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/linkedaccountmeta.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(category:, models:, provider:) ⇒ LinkedAccountMeta
constructor
A new instance of LinkedAccountMeta.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(category:, models:, provider:) ⇒ LinkedAccountMeta
Returns a new instance of LinkedAccountMeta.
23 24 25 26 27 |
# File 'lib/stack_one/models/shared/linkedaccountmeta.rb', line 23 def initialize(category:, models:, provider:) @category = category @models = models @provider = provider end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/stack_one/models/shared/linkedaccountmeta.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @category == other.category return false unless @models == other.models return false unless @provider == other.provider true end |