Module: MachineShop::APIOperations::Delete

Included in:
Customer, DataSourceTypes, Device, DeviceInstance, Rule
Defined in:
lib/machineshop/api_operations/delete.rb

Instance Method Summary collapse

Instance Method Details

#deleteObject



4
5
6
7
8
# File 'lib/machineshop/api_operations/delete.rb', line 4

def delete
  response = MachineShop.gem_delete(url, @auth_token,{})
  refresh_from(response, @auth_token)
  self
end