lib/zoho_hub/connection.rb in zoho_hub-0.2.0 vs lib/zoho_hub/connection.rb in zoho_hub-0.3.0

- old
+ new

@@ -45,9 +45,16 @@ response = with_refresh { adapter.put(path, params) } response.body end + def delete(path, params = {}) + log "DELETE #{path} with #{params}" + + response = with_refresh { adapter.delete(path, params) } + response.body + end + def access_token? @access_token end def refresh_token?