Method: Belvo::APISession#delete
- Defined in:
- lib/belvo/http.rb
#delete(path, id) ⇒ Boolean
Delete existing resource
166 167 168 169 170 |
# File 'lib/belvo/http.rb', line 166 def delete(path, id) resource_path = format('%<path>s%<id>s/', path: path, id: id) response = @session.delete(resource_path) response.success? end |