Exception: Transdeal::InvalidBackend

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/transdeal.rb

Instance Method Summary collapse

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