Commit c04711b6 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

set Logo as a Bitstream object on Comm/Coll

parent b5f9196c
......@@ -15,7 +15,7 @@ module Dspace
@handle = args['handle']
@type = args['type']
@link = args['link']
@logo = args['logo']
@logo = Dspace::Bitstream.new(args['logo']) unless args['logo'].nil?
@license = args['license']
@copyright_text = args['copyrightText'] || args['copyright_text']
@introductory_text = args['introductoryText'] || args['introductory_text']
......
......@@ -13,7 +13,7 @@ module Dspace
@handle = args['handle']
@type = args['type']
@link = args['link']
@logo = args['logo']
@logo = Dspace::Bitstream.new(args['logo']) unless args['logo'].nil?
@parent_community = Dspace::Community.new(args['parentCommunity']) unless args['parentCommunity'].nil?
@copyright_text = args['copyrightText'] || args['copyright_text']
@introductory_text = args['introductoryText'] || args['introductory_text']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment