def update_deposition(options={})
      id = options[:id] || raise(ArgumentError, "Must supply :id")
      deposition = options[:deposition] || raise(ArgumentError, "Must supply :deposition")
      Resources::Deposition.parse(request(:put, "deposit/depositions/#{id}", deposition))
    end
def update_deposition(options={})
      id = options[:id] || raise(ArgumentError, "Must supply :id")
      deposition = options[:deposition] || raise(ArgumentError, "Must supply :deposition")
      Resources::Deposition.parse(request(:put, "deposit/depositions/#{id}", deposition))
    end
PUT /Deposit/Depositions
 Updates a deposition.
 @param [Hash] options The options to update a deposition with.
 @option options [String, Fixnum] :id A deposition's ID.
 @option options [Hash] :deposition The deposition to update.
 @raise [ArgumentError] If the :id or :deposition arguments are blank.
 @return [Zenodo::Resources::deposition, nil].