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

#create ⇒ Object (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

#delete ⇒ Object (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

#read ⇒ Object (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

#role ⇒ Object (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

#write ⇒ Object (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

#xpath ⇒ Object (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_h ⇒ Object



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