Class: StackOne::Models::Shared::ConnectorsMeta
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::ConnectorsMeta
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/connectorsmeta.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(category:, models:, provider:, provider_name:, active: nil, resources: nil) ⇒ ConnectorsMeta
constructor
A new instance of ConnectorsMeta.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(category:, models:, provider:, provider_name:, active: nil, resources: nil) ⇒ ConnectorsMeta
Returns a new instance of ConnectorsMeta.
29 30 31 32 33 34 35 36 |
# File 'lib/stack_one/models/shared/connectorsmeta.rb', line 29 def initialize(category:, models:, provider:, provider_name:, active: nil, resources: nil) @category = category @models = models @provider = provider @provider_name = provider_name @active = active @resources = resources end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/stack_one/models/shared/connectorsmeta.rb', line 39 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 return false unless @provider_name == other.provider_name return false unless @active == other.active return false unless @resources == other.resources true end |