Method: Boxr::Client#unlock_file
- Defined in:
- lib/boxr/files.rb
#unlock_file(file, if_match: nil) ⇒ Object
63 64 65 66 67 68 69 70 |
# File 'lib/boxr/files.rb', line 63 def unlock_file(file, if_match: nil) file_id = ensure_id(file) uri = "#{FILES_URI}/#{file_id}" attributes = { lock: nil } updated_file, = put(uri, attributes, if_match: if_match) updated_file end |