Skip to content
Snippets Groups Projects
Commit 1ff10e22 authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

fix attachment classes name

parent 869b1746
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ class Builder
def self.cache_key(rid, last_modified)
last_modified = Time.at(0).to_s if last_modified.nil?
rid + '/' + last_modified
"#{rid}/#{last_modified}"
end
end
module LearningObject
class Attachment
include ActiveModel::Model
class LearningObject::Attachment
include ActiveModel::Model
#this attributes mirror Dspace bitstream values
attr_accessor :id, :name, :link, :retrieve_link, :description, :format, :mime_type, :size
end
#this attributes mirror Dspace bitstream values
attr_accessor :id, :name, :link, :retrieve_link, :description, :format, :mime_type, :size
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment