Class: Fastlane::Helper::SyncDevicesHelper::Command::Enable

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

Overview

Command to enable an existing device.

Instance Attribute Summary

Attributes inherited from Base

#device

Instance Method Summary collapse

Instance Method Details

#descriptionString

Returns:

  • (String)


69
70
71
# File 'lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb', line 69

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

#runvoid

This method returns an undefined value.



64
65
66
# File 'lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb', line 64

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