Class: Fastlane::Helper::SyncDevicesHelper::Command::Disable
- 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
Instance Method Summary collapse
Instance Method Details
#description ⇒ String
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 |
#run ⇒ void
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 |