Class: Aspera::Transfer::Result::DryRun

Inherits:
Result
  • Object
show all
Defined in:
lib/aspera/transfer/result.rb

Overview

Transfer not started, because of option dry_run.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transfer_spec) ⇒ DryRun

Returns a new instance of DryRun.



67
68
69
70
# File 'lib/aspera/transfer/result.rb', line 67

def initialize(transfer_spec)
  super()
  @transfer_spec = transfer_spec
end

Instance Attribute Details

#transfer_spec ⇒ Hash (readonly)

Returns final transfer spec, as it would be given to the agent.

Returns:

  • (Hash) —

    final transfer spec, as it would be given to the agent



65
66
67
# File 'lib/aspera/transfer/result.rb', line 65

def transfer_spec
  @transfer_spec
end

Instance Method Details

#to_s ⇒ Object



72
73
74
# File 'lib/aspera/transfer/result.rb', line 72

def to_s
  'dry run'
end