fixing hash builder method call

parent 5bbc1743
......@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'dspace/version'
Gem::Specification.new do |spec|
spec.date = '2016-02-18'
spec.date = '2016-02-19'
spec.name = "dspace_rest_client"
spec.version = Dspace::VERSION
spec.authors = ["Mauricio Giacomini Girardello", "Lucas Ernesto Kindinger", "Bruno N. Zanette", "Mateus Rambo Strey"]
......
......@@ -45,7 +45,7 @@ module Dspace
end
action :add_metadata, 'POST /rest/items/:id/metadata' do
body { |objects| Dspace::Builders::HashBuilder.models2hash(objects) }
body { |objects| Dspace::Builders::HashBuilder.obj2hash(objects) }
handler(200, 201) { |response| true }
end
......
module Dspace
VERSION = "2.2.3"
VERSION = "2.2.4"
end
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