Exception: Lotus::Model::Adapters::NoAdapterError

Inherits:
Error
  • Object
show all
Defined in:
lib/lotus/model/adapters/null_adapter.rb

Overview

Since:

  • 0.2.0

Instance Method Summary collapse

Constructor Details

#initialize(method_name) ⇒ NoAdapterError

Returns a new instance of NoAdapterError.

Since:

  • 0.2.0



8
9
10
11
12
# File 'lib/lotus/model/adapters/null_adapter.rb', line 8

def initialize(method_name)
  super("Cannot invoke `#{ method_name }' on repository. "\
        "Please check if `adapter' and `mapping' are set, "\
        "and that you call `.load!' on the configuration.")
end