From 5a3be4190688bc8240327930b3e953b09ecc9d9e Mon Sep 17 00:00:00 2001 From: gebele Date: Tue, 28 May 2019 14:25:52 +0000 Subject: before clean up --- prediction.rb | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 prediction.rb (limited to 'prediction.rb') diff --git a/prediction.rb b/prediction.rb deleted file mode 100644 index afceb08..0000000 --- a/prediction.rb +++ /dev/null @@ -1,35 +0,0 @@ -module OpenTox - - class Prediction - - include OpenTox - include Mongoid::Document - include Mongoid::Timestamps - store_in collection: "predictions" - field :compound, type: BSON::ObjectId - field :model, type: BSON::ObjectId - field :prediction, type: Hash, default:{} - field :csv, type: String - - attr_accessor :compound, :model, :prediction, :csv - - def compound - self[:compound] - end - - def model - self[:model] - end - - def prediction - self[:prediction] - end - - def csv - self[:csv] - end - - end - -end - -- cgit v1.2.3