Class: Gitlab::Dangerfiles::CapabilityStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/gitlab/dangerfiles/capability.rb

Direct Known Subclasses

Capability

Instance Attribute Summary collapse

Instance Attribute Details

#categoryObject

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



5
6
7
# File 'lib/gitlab/dangerfiles/capability.rb', line 5

def category
  @category
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



5
6
7
# File 'lib/gitlab/dangerfiles/capability.rb', line 5

def kind
  @kind
end

#labelsObject

Returns the value of attribute labels

Returns:

  • (Object)

    the current value of labels



5
6
7
# File 'lib/gitlab/dangerfiles/capability.rb', line 5

def labels
  @labels
end

#projectObject

Returns the value of attribute project

Returns:

  • (Object)

    the current value of project



5
6
7
# File 'lib/gitlab/dangerfiles/capability.rb', line 5

def project
  @project
end