lib/vidispine/api/client.rb in vidispine-1.5.3 vs lib/vidispine/api/client.rb in vidispine-1.5.4

- old
+ new

@@ -134,10 +134,11 @@ collection_name = args.is_a?(String) ? args : begin _data = Requests::BaseRequest.process_parameters([ { :name => :name, :aliases => [ :collection_name ], :send_in => :query } ], args) _args = _data[:arguments_out] _args[:name] end - http(:post, '/collection', '', :query => { :name => collection_name }) + path = File.join(api_endpoint_prefix, '/collection') + http(:post, path, '', :query => { :name => collection_name }) end # @see http://apidoc.vidispine.com/4.2/ref/collection.html#delete-a-collection def collection_delete(args = { }, options = { }) collection_id = args.is_a?(String) ? args : begin \ No newline at end of file