Class: MendixBridge::Model::EnumerationValue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#captionObject (readonly)

Returns the value of attribute caption

Returns:

  • (Object)

    the current value of caption



48
49
50
# File 'lib/mendix_bridge/model.rb', line 48

def caption
  @caption
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



48
49
50
# File 'lib/mendix_bridge/model.rb', line 48

def name
  @name
end

Instance Method Details

#to_hObject



49
50
51
# File 'lib/mendix_bridge/model.rb', line 49

def to_h
  { name:, caption: }
end