Module: Vhx::ApiOperations::Delete::ClassMethods

Defined in:
lib/vhx/utilities/api_operations/delete.rb

Instance Method Summary collapse

Instance Method Details

#delete(identifier, payload = {}, headers = {}) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/vhx/utilities/api_operations/delete.rb', line 5

def delete(identifier, payload = {}, headers = {})
  Vhx.connection.delete(
    get_hypermedia(identifier),
    payload,
    headers,
  )
end