Exception: Transdeal::InvalidBackend
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Transdeal::InvalidBackend
- Defined in:
- lib/transdeal.rb
Instance Method Summary collapse
-
#initialize(object) ⇒ InvalidBackend
constructor
A new instance of InvalidBackend.
Constructor Details
#initialize(object) ⇒ InvalidBackend
Returns a new instance of InvalidBackend.
5 6 7 8 9 |
# File 'lib/transdeal.rb', line 5 def initialize(object) super "Invalid backend [#{object.inspect}].\n" \ "Expected {class: ..., method: ...} Hash or " \ "class name / class responding to :store, :run or :perform." end |