Class: Astrails::Safe::Sink

Inherits:
Stream
  • Object
show all
Defined in:
lib/astrails/safe/sink.rb

Direct Known Subclasses

Cloudfiles, Local, S3, Sftp

Instance Attribute Summary

Attributes inherited from Stream

#backup, #config

Instance Method Summary collapse

Methods inherited from Stream

#expand, #initialize

Constructor Details

This class inherits a constructor from Astrails::Safe::Stream

Instance Method Details

#processObject



5
6
7
8
9
10
# File 'lib/astrails/safe/sink.rb', line 5

def process
  return unless active?

  save
  cleanup
end