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

#actionObject (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

#captionObject (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

#targetObject (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_hObject



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

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