Class: MendixBridge::Model::NavigationProfile
- Inherits:
-
Data
- Object
- Data
- MendixBridge::Model::NavigationProfile
- Defined in:
- lib/mendix_bridge/model.rb
Instance Attribute Summary collapse
-
#home_page ⇒ Object
readonly
Returns the value of attribute home_page.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#login_page ⇒ Object
readonly
Returns the value of attribute login_page.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#not_found_page ⇒ Object
readonly
Returns the value of attribute not_found_page.
-
#role_home_pages ⇒ Object
readonly
Returns the value of attribute role_home_pages.
Instance Method Summary collapse
Instance Attribute Details
#home_page ⇒ Object (readonly)
Returns the value of attribute home_page
144 145 146 |
# File 'lib/mendix_bridge/model.rb', line 144 def home_page @home_page end |
#items ⇒ Object (readonly)
Returns the value of attribute items
144 145 146 |
# File 'lib/mendix_bridge/model.rb', line 144 def items @items end |
#login_page ⇒ Object (readonly)
Returns the value of attribute login_page
144 145 146 |
# File 'lib/mendix_bridge/model.rb', line 144 def login_page @login_page end |
#name ⇒ Object (readonly)
Returns the value of attribute name
144 145 146 |
# File 'lib/mendix_bridge/model.rb', line 144 def name @name end |
#not_found_page ⇒ Object (readonly)
Returns the value of attribute not_found_page
144 145 146 |
# File 'lib/mendix_bridge/model.rb', line 144 def not_found_page @not_found_page end |
#role_home_pages ⇒ Object (readonly)
Returns the value of attribute role_home_pages
144 145 146 |
# File 'lib/mendix_bridge/model.rb', line 144 def role_home_pages @role_home_pages end |
Instance Method Details
#to_h ⇒ Object
152 153 154 155 156 157 158 159 160 161 |
# File 'lib/mendix_bridge/model.rb', line 152 def to_h { name:, home_page:, role_home_pages: role_home_pages.map(&:to_h), login_page:, not_found_page:, items: items.map(&:to_h) }.compact end |