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



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

def category
  @category
end

#maintainerObject

Returns the value of attribute 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



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

def optional_role
  @optional_role
end

#reviewerObject

Returns the value of attribute reviewer



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

def reviewer
  @reviewer
end

Instance Method Details

#no_maintainer?Boolean



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

def no_maintainer?
  maintainer.nil?
end

#no_reviewer?Boolean



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

def no_reviewer?
  reviewer.nil?
end