From e7db4c90e12b3fb6e5776800d0c988e62a279d0b Mon Sep 17 00:00:00 2001 From: Mauricio Giacomini Girardello <mgg12@inf.ufpr.br> Date: Wed, 9 Sep 2015 10:16:25 -0300 Subject: [PATCH] remove LearningObject reimplemented method 'initialize' --- app/models/learning_object.rb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/app/models/learning_object.rb b/app/models/learning_object.rb index dc9878ec..e882b3b6 100644 --- a/app/models/learning_object.rb +++ b/app/models/learning_object.rb @@ -1,17 +1,6 @@ class LearningObject - include ActiveModel::Model attr_accessor :id, :id_dspace, :title, :description, :date_creation, :thumbnail, :metadata - - def initialize args - @id = args[:id] || '' - @id_dspace = args[:id_dspace] || '' - @title = args[:title] || '' - @description = args[:description] || '' - @date_creation = args[:date_creation] || '' - @thumbnail = args[:thumbnail] || '' - @metadata = args[:metadata] || [] - end -end +end \ No newline at end of file -- GitLab