Class: WebTranslateIt::Safe::Cloudfiles

Inherits:
Sink
  • Object
show all
Defined in:
lib/web_translate_it/safe/cloudfiles.rb

Constant Summary collapse

MAX_CLOUDFILES_FILE_SIZE =
5_368_709_120

Instance Attribute Summary

Attributes inherited from Stream

#backup, #config

Instance Method Summary collapse

Methods inherited from Sink

#process

Methods inherited from Stream

#expand, #initialize

Constructor Details

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

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/web_translate_it/safe/cloudfiles.rb', line 9

def active?
  container && user && api_key
end