Class: Exceptions::BadResult

Inherits:
Result
  • Object
show all
Defined in:
lib/exceptions/result.rb

Overview

Public: BadResult can be returned when there’s a failure.

Instance Attribute Summary

Attributes inherited from Result

#id

Instance Method Summary collapse

Methods inherited from Result

#initialize, #url

Constructor Details

This class inherits a constructor from Exceptions::Result

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/exceptions/result.rb', line 29

def ok?
  false
end