Class: MendixBridge::Model::Association
- Inherits:
-
Data
- Object
- Data
- MendixBridge::Model::Association
- Defined in:
- lib/mendix_bridge/model.rb
Instance Attribute Summary collapse
-
#cardinality ⇒ Object
readonly
Returns the value of attribute cardinality.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#owner ⇒ Object
readonly
Returns the value of attribute owner.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
Instance Attribute Details
#cardinality ⇒ Object (readonly)
Returns the value of attribute cardinality
11 12 13 |
# File 'lib/mendix_bridge/model.rb', line 11 def cardinality @cardinality end |
#name ⇒ Object (readonly)
Returns the value of attribute name
11 12 13 |
# File 'lib/mendix_bridge/model.rb', line 11 def name @name end |
#owner ⇒ Object (readonly)
Returns the value of attribute owner
11 12 13 |
# File 'lib/mendix_bridge/model.rb', line 11 def owner @owner end |
#target ⇒ Object (readonly)
Returns the value of attribute target
11 12 13 |
# File 'lib/mendix_bridge/model.rb', line 11 def target @target end |
Instance Method Details
#to_h ⇒ Object
12 13 14 |
# File 'lib/mendix_bridge/model.rb', line 12 def to_h { name:, target:, cardinality:, owner: }.compact end |