Class: UndriveGoogle::CaptiveFile
- Inherits:
-
Object
- Object
- UndriveGoogle::CaptiveFile
- Includes:
- Singleton
- Defined in:
- lib/undrive_google/captive_file.rb
Overview
A file on Google Drive
Instance Attribute Summary collapse
-
#exports ⇒ Object
Returns the value of attribute exports.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#liberate! ⇒ Object
Nil.
Instance Attribute Details
#exports ⇒ Object
Returns the value of attribute exports.
8 9 10 |
# File 'lib/undrive_google/captive_file.rb', line 8 def exports @exports end |
#options ⇒ Object
Returns the value of attribute options.
8 9 10 |
# File 'lib/undrive_google/captive_file.rb', line 8 def @options end |
Instance Method Details
#liberate! ⇒ Object
Returns nil.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/undrive_google/captive_file.rb', line 11 def liberate! sweep! if Options.instance.sweep @exports = [] extensions.each do |format| liberate = Actions::Liberate.new(format) @exports << liberate.file_path liberate.liberate! end nil end |