Class: MendixBridge::Model::AccessRule

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#createObject (readonly)

Returns the value of attribute create

Returns:

  • (Object)

    the current value of create



17
18
19
# File 'lib/mendix_bridge/model.rb', line 17

def create
  @create
end

#deleteObject (readonly)

Returns the value of attribute delete

Returns:

  • (Object)

    the current value of delete



17
18
19
# File 'lib/mendix_bridge/model.rb', line 17

def delete
  @delete
end

#readObject (readonly)

Returns the value of attribute read

Returns:

  • (Object)

    the current value of read



17
18
19
# File 'lib/mendix_bridge/model.rb', line 17

def read
  @read
end

#roleObject (readonly)

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



17
18
19
# File 'lib/mendix_bridge/model.rb', line 17

def role
  @role
end

#writeObject (readonly)

Returns the value of attribute write

Returns:

  • (Object)

    the current value of write



17
18
19
# File 'lib/mendix_bridge/model.rb', line 17

def write
  @write
end

#xpathObject (readonly)

Returns the value of attribute xpath

Returns:

  • (Object)

    the current value of xpath



17
18
19
# File 'lib/mendix_bridge/model.rb', line 17

def xpath
  @xpath
end

Instance Method Details

#to_hObject



18
19
20
21
22
23
24
25
26
27
# File 'lib/mendix_bridge/model.rb', line 18

def to_h
  {
    role:,
    create:,
    delete:,
    read:,
    write:,
    xpath:
  }.compact
end