Sha256: a9cafcc4d69c72e4b8836d719847de8c8c891b096fc6f5f5577d2b4a106e4c2d

Contents?: true

Size: 194 Bytes

Versions: 9

Compression:

Stored size: 194 Bytes

Contents

class RemoveAllUserDevicesInteractor

  def initialize(stf)
    @stf = stf
  end

  def execute
    devices = @stf.get_user_devices
    devices.each { |d| @stf.remove_device d.serial }
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
stf-client-neofreko-0.1.9 lib/stf/interactor/remove_all_user_devices_interactor.rb
stf-client-neofreko-0.1.8 lib/stf/interactor/remove_all_user_devices_interactor.rb
stf-client-neofreko-0.1.7 lib/stf/interactor/remove_all_user_devices_interactor.rb
stf-client-0.1.6 lib/stf/interactor/remove_all_user_devices_interactor.rb
stf-client-0.1.4 lib/stf/interactor/remove_all_user_devices_interactor.rb
stf-client-0.1.3 lib/stf/interactor/remove_all_user_devices_interactor.rb
stf-client-0.1.2 lib/stf/interactor/remove_all_user_devices_interactor.rb
stf-client-0.1.1 lib/stf/interactor/remove_all_user_devices_interactor.rb
stf-client-0.1.0 lib/stf/interactor/remove_all_user_devices_interactor.rb