Class: Nifty::TransferMethods::Opennebula::Noop

Inherits:
Nifty::TransferMethod show all
Defined in:
lib/nifty/transfer_methods/opennebula/noop.rb

Overview

No operation transfer method Leaves file as it is

Instance Attribute Summary

Attributes inherited from Nifty::TransferMethod

#destination

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Nifty::TransferMethod

#clean_copy, #clean_original, #initialize

Constructor Details

This class inherits a constructor from Nifty::TransferMethod

Class Method Details

.backendObject

See Also:

  • Nifty::TransferMethod#backend


16
17
18
# File 'lib/nifty/transfer_methods/opennebula/noop.rb', line 16

def backend
  Nifty::Backends::Opennebula
end

.descriptionObject

See Also:

  • Nifty::TransferMethod#description?


11
12
13
# File 'lib/nifty/transfer_methods/opennebula/noop.rb', line 11

def description
  "No operation transfer method - doesn't change location of images"
end

.transfer_method?Boolean

Returns:

  • (Boolean)

See Also:

  • Nifty::TransferMethod#transfer_method?


6
7
8
# File 'lib/nifty/transfer_methods/opennebula/noop.rb', line 6

def transfer_method?
  true
end

Instance Method Details

#transfer(file) ⇒ Object



22
23
24
25
26
# File 'lib/nifty/transfer_methods/opennebula/noop.rb', line 22

def transfer(file)
  super(file)

  file
end