lib/fizzy/api/sessions/basic_auth_session.rb in fizzy-api-0.0.2.2 vs lib/fizzy/api/sessions/basic_auth_session.rb in fizzy-api-0.0.3
- old
+ new
@@ -29,18 +29,9 @@
body: params.to_json,
basic_auth: basic_auth)
end
end
- def patch(path, params = {})
- perform_request_or_fail do
- HTTParty.patch(full_url_for(path),
- headers: { 'Content-Type' => 'application/json' },
- body: params.to_json,
- basic_auth: basic_auth)
- end
- end
-
def delete(path, params = {})
perform_request_or_fail do
HTTParty.delete(full_url_for(path),
query: params,
basic_auth: basic_auth)