Method: Unitylock::Client::Main#touches

Defined in:
lib/unitylock/client/main.rb

#touches(files) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/unitylock/client/main.rb', line 20

def touches(files)
  @conn.post do |req|
    req.url '/files'
    req.headers['Content-Type'] = 'application/json'
    req.body = JSON.generate(files)
  end
end