Method: Hyperpublic::OAuth#delete

Defined in:
lib/hyperpublic/oauth.rb

#delete(uri, options = {}) ⇒ Object



41
42
43
44
45
# File 'lib/hyperpublic/oauth.rb', line 41

def delete(uri, options={})
  path = @api_endpoint + uri
  sep = (path =~ /\/.*\?/) ? "&" : "?"
  @token.delete(path + sep + @auth_params)
end