Class: LedgerSync::ResourceAttribute::Reference::Many
- Inherits:
-
LedgerSync::ResourceAttribute::Reference
- Object
- LedgerSync::ResourceAttribute
- LedgerSync::ResourceAttribute::Reference
- LedgerSync::ResourceAttribute::Reference::Many
- Defined in:
- lib/ledger_sync/resource_attribute/reference/many.rb
Defined Under Namespace
Modules: Mixin Classes: ManyArray
Instance Attribute Summary
Attributes inherited from LedgerSync::ResourceAttribute
#name, #reference, #type, #value
Instance Method Summary collapse
- #changed? ⇒ Boolean
- #changes ⇒ Object
-
#initialize(name:, to:) ⇒ Many
constructor
A new instance of Many.
- #save ⇒ Object
Methods inherited from LedgerSync::ResourceAttribute
#cast, #reference?, #references_many?, #valid_with?
Constructor Details
Instance Method Details
#changed? ⇒ Boolean
74 75 76 |
# File 'lib/ledger_sync/resource_attribute/reference/many.rb', line 74 def changed? value.changed? end |
#changes ⇒ Object
78 79 80 |
# File 'lib/ledger_sync/resource_attribute/reference/many.rb', line 78 def changes value.changes end |
#save ⇒ Object
82 83 84 |
# File 'lib/ledger_sync/resource_attribute/reference/many.rb', line 82 def save value.save end |