Class: TDL::FatalErrorResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/tdl/abstractions/response/fatal_error_response.rb

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ FatalErrorResponse

Returns a new instance of FatalErrorResponse.



6
7
8
# File 'lib/tdl/abstractions/response/fatal_error_response.rb', line 6

def initialize(message)
  @message = message
end

Instance Method Details

#audit_textObject



14
15
16
# File 'lib/tdl/abstractions/response/fatal_error_response.rb', line 14

def audit_text
  "error = #{@message}"
end

#client_actionObject



10
11
12
# File 'lib/tdl/abstractions/response/fatal_error_response.rb', line 10

def client_action
  StopAction.new
end