Method: Device.destroy_all
- Defined in:
- lib/peach/device.rb
.destroy_all(xc:) ⇒ Object
class functions
43 44 45 46 47 48 |
# File 'lib/peach/device.rb', line 43 def self.destroy_all(xc:) devices = Device.current_devices(xc: xc) || [] devices.each do |d| d.destroy end end |