Class: Fastlane::Helper::SyncDevicesHelper::Command::Create
- Defined in:
- lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb
Overview
Command to register a new device.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Instance Method Details
#description ⇒ String
167 168 169 |
# File 'lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb', line 167 def description "Created #{device.name} (#{device.udid})" end |
#run ⇒ void
This method returns an undefined value.
158 159 160 161 162 163 164 |
# File 'lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb', line 158 def run Spaceship::ConnectAPI::Device.create( name: device.name, platform: device.platform, udid: device.udid ) end |