aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/import.rb
diff options
context:
space:
mode:
authorLuc Donnet2015-05-18 16:53:04 +0200
committerLuc Donnet2015-05-18 16:53:04 +0200
commit8199c5d98595aa71f0305a3e033ca7f5a209fefe (patch)
tree18ed5c84b115f19a8d4a6da09909790ddf134cdb /app/models/import.rb
parentb3a4f0c5cde9427fafef30a56f8e016d40bad4fb (diff)
downloadchouette-core-8199c5d98595aa71f0305a3e033ca7f5a209fefe.tar.bz2
Fix modules concern and export task validation
Diffstat (limited to 'app/models/import.rb')
-rw-r--r--app/models/import.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/import.rb b/app/models/import.rb
index 2a3ee18db..77a566680 100644
--- a/app/models/import.rb
+++ b/app/models/import.rb
@@ -3,6 +3,10 @@ require 'open-uri'
class Import
include JobConcern
+ def initialize( response )
+ @datas = response
+ end
+
def report?
links["action_report"].present?
end