Class: MendixBridge::Model::NavigationMenu
- Inherits:
-
Data
- Object
- Data
- MendixBridge::Model::NavigationMenu
- Defined in:
- lib/mendix_bridge/model.rb
Instance Attribute Summary collapse
-
#caption ⇒ Object
readonly
Returns the value of attribute caption.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
Instance Method Summary collapse
Instance Attribute Details
#caption ⇒ Object (readonly)
Returns the value of attribute caption
132 133 134 |
# File 'lib/mendix_bridge/model.rb', line 132 def caption @caption end |
#items ⇒ Object (readonly)
Returns the value of attribute items
132 133 134 |
# File 'lib/mendix_bridge/model.rb', line 132 def items @items end |
Instance Method Details
#to_h ⇒ Object
133 134 135 |
# File 'lib/mendix_bridge/model.rb', line 133 def to_h { caption:, items: items.map(&:to_h) } end |