Class: Fastlane::Helper::SyncDevicesHelper::Command::Disable

Inherits:
Base
  • Object
show all
Defined in:
lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb

Overview

Command to disable an existing device.

Instance Attribute Summary

Attributes inherited from Base

#device

Instance Method Summary collapse

Instance Method Details

#descriptionString



55
56
57
# File 'lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb', line 55

def description
  "Disabled #{device.name} (#{device.udid})"
end

#runvoid



50
51
52
# File 'lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb', line 50

def run
  Spaceship::ConnectAPI::Device.disable(device.udid)
end