Method: Client#cleanup
- Defined in:
- lib/text_tunnel/client.rb
#cleanup ⇒ Object
53 54 55 56 57 |
# File 'lib/text_tunnel/client.rb', line 53 def cleanup # This call can fail, especially if text_tunnel is terminating because of # a previous error. So swallow any errors. RestClient.delete(@location) rescue nil end |