Class: Fastlane::Helper::SyncDevicesHelper::Command::Base

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

Overview

Abstract base class of command object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#deviceSpaceship::ConnectAPI::Device

Returns the current value of device.

Returns:

  • (Spaceship::ConnectAPI::Device)

    the current value of device



13
14
15
# File 'lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb', line 13

def device
  @device
end

Instance Method Details

#descriptionString

This method is abstract.

Description of this command.

Returns:

  • (String)

Raises:

  • (NotImplementedError)


26
27
28
29
30
# File 'lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb', line 26

def description
  # :nocov:
  raise NotImplementedError
  # :nocov:
end

#runvoid

This method is abstract.

This method returns an undefined value.

Communicate with AppStore Connect and change the remote device.

Raises:

  • (NotImplementedError)


17
18
19
20
21
# File 'lib/fastlane/plugin/sync_devices/helper/sync_devices_helper/command.rb', line 17

def run
  # :nocov:
  raise NotImplementedError
  # :nocov:
end