Class: MendixBridge::Model::NavigationItem

Inherits:
Data
  • Object
show all
Defined in:
lib/mendix_bridge/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#action ⇒ Object (readonly)

Returns the value of attribute action

Returns:

  • (Object) —

    the current value of action



126
127
128
# File 'lib/mendix_bridge/model.rb', line 126

def action
  @action
end

#caption ⇒ Object (readonly)

Returns the value of attribute caption

Returns:

  • (Object) —

    the current value of caption



126
127
128
# File 'lib/mendix_bridge/model.rb', line 126

def caption
  @caption
end

#target ⇒ Object (readonly)

Returns the value of attribute target

Returns:

  • (Object) —

    the current value of target



126
127
128
# File 'lib/mendix_bridge/model.rb', line 126

def target
  @target
end

Instance Method Details

#to_h ⇒ Object



127
128
129
# File 'lib/mendix_bridge/model.rb', line 127

def to_h
  { caption:, action:, target: }
end