Class: Gitlab::Dangerfiles::Spin

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

Instance Attribute Summary collapse

Instance Method 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/spin.rb', line 5

def category
  @category
end

#maintainerObject

Returns the value of attribute maintainer

Returns:

  • (Object)

    the current value of maintainer



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

def maintainer
  @maintainer
end

#optional_roleObject

Returns the value of attribute optional_role

Returns:

  • (Object)

    the current value of optional_role



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

def optional_role
  @optional_role
end

#reviewerObject

Returns the value of attribute reviewer

Returns:

  • (Object)

    the current value of reviewer



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

def reviewer
  @reviewer
end

Instance Method Details

#no_maintainer?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/gitlab/dangerfiles/spin.rb', line 10

def no_maintainer?
  maintainer.nil?
end

#no_reviewer?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/gitlab/dangerfiles/spin.rb', line 6

def no_reviewer?
  reviewer.nil?
end