From 93f9ebead886129b631bc25e6bc0eb57a2d99b51 Mon Sep 17 00:00:00 2001
From: Mauricio Giacomini Girardello <mauriciogiacomini4@gmail.com>
Date: Mon, 18 Jan 2016 17:49:48 -0200
Subject: [PATCH] explicity declaration of module

---
 app/models/learning_object/attachment.rb | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/app/models/learning_object/attachment.rb b/app/models/learning_object/attachment.rb
index 1aff7410..1a4b61ae 100644
--- a/app/models/learning_object/attachment.rb
+++ b/app/models/learning_object/attachment.rb
@@ -1,6 +1,8 @@
-class LearningObject::Attachment
-  include ActiveModel::Model
+module LearningObject
+  class Attachment
+    include ActiveModel::Model
 
-  #this attributes mirror Dspace bitstream values
-  attr_accessor :id, :name, :link, :retrieve_link, :description, :format, :mime_type, :size
+    #this attributes mirror Dspace bitstream values
+    attr_accessor :id, :name, :link, :retrieve_link, :description, :format, :mime_type, :size
+  end
 end
-- 
GitLab