Class: Gitabu::Api::V3::CodeScanningErrorResult

Inherits:
Object
  • Object
show all
Defined in:
lib/gitabu/api/v3/code_scanning.rb

Overview

Class to display error result

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result:, message:) ⇒ CodeScanningErrorResult

Returns a new instance of CodeScanningErrorResult.


30
31
32
33
# File 'lib/gitabu/api/v3/code_scanning.rb', line 30

def initialize(result:, message:)
  @result = result
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.


28
29
30
# File 'lib/gitabu/api/v3/code_scanning.rb', line 28

def message
  @message
end

#resultObject

Returns the value of attribute result.


28
29
30
# File 'lib/gitabu/api/v3/code_scanning.rb', line 28

def result
  @result
end