Method: Unitylock::Client::Main#deletes
- Defined in:
- lib/unitylock/client/main.rb
#deletes(files) ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/unitylock/client/main.rb', line 28 def deletes(files) @conn.delete do |req| req.url '/files' req.headers['Content-Type'] = 'application/json' req.body = JSON.generate(files) end end |