Class: MendixBridge::Model::Microflow

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



66
67
68
# File 'lib/mendix_bridge/model.rb', line 66

def body
  @body
end

#execute_rolesObject (readonly)

Returns the value of attribute execute_roles

Returns:

  • (Object)

    the current value of execute_roles



66
67
68
# File 'lib/mendix_bridge/model.rb', line 66

def execute_roles
  @execute_roles
end

#folderObject (readonly)

Returns the value of attribute folder

Returns:

  • (Object)

    the current value of folder



66
67
68
# File 'lib/mendix_bridge/model.rb', line 66

def folder
  @folder
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



66
67
68
# File 'lib/mendix_bridge/model.rb', line 66

def name
  @name
end

#parametersObject (readonly)

Returns the value of attribute parameters

Returns:

  • (Object)

    the current value of parameters



66
67
68
# File 'lib/mendix_bridge/model.rb', line 66

def parameters
  @parameters
end

#return_typeObject (readonly)

Returns the value of attribute return_type

Returns:

  • (Object)

    the current value of return_type



66
67
68
# File 'lib/mendix_bridge/model.rb', line 66

def return_type
  @return_type
end

Instance Method Details

#to_hObject



74
75
76
77
78
79
80
81
82
83
# File 'lib/mendix_bridge/model.rb', line 74

def to_h
  {
    name:,
    parameters: parameters.map(&:to_h),
    return_type:,
    folder:,
    body:,
    execute_roles:
  }.compact
end