aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/simple_interface.rb
diff options
context:
space:
mode:
authorZog2018-03-08 15:07:41 +0100
committerZog2018-03-12 12:00:15 +0100
commit132db2e97fd6e28105e472ee562062b7ebc07b39 (patch)
tree6a1e332e98abd011d0913044e75727ea11a4c3c6 /app/models/simple_interface.rb
parenta4a075f5eec935dd6a0dbf0a861b6ada13b1dcbc (diff)
downloadchouette-core-132db2e97fd6e28105e472ee562062b7ebc07b39.tar.bz2
Refs #6133; Sample SimpeImporter Implementation
Still needs to be made asynchronous
Diffstat (limited to 'app/models/simple_interface.rb')
-rw-r--r--app/models/simple_interface.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/simple_interface.rb b/app/models/simple_interface.rb
index 489419482..c766d483a 100644
--- a/app/models/simple_interface.rb
+++ b/app/models/simple_interface.rb
@@ -16,7 +16,7 @@ class SimpleInterface < ActiveRecord::Base
def find_configuration name
@importers ||= {}
configuration = @importers[name.to_sym]
- raise "Importer not found: #{name}" unless configuration
+ raise "#{self.name} not found: #{name}" unless configuration
configuration
end
end