Exception: Apitest::ServiceError::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/apitest/service_error.rb

Instance Method Summary collapse

Instance Method Details

#errorObject



33
34
35
# File 'lib/apitest/service_error.rb', line 33

def error
  eval(message)
end

#error_codeObject



36
37
38
# File 'lib/apitest/service_error.rb', line 36

def error_code
  error[:error_code]
end