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.
7 8 9 |
# File 'lib/undrive_google/captive_file.rb', line 7 def exports @exports end |
#options ⇒ Object
Returns the value of attribute options.
7 8 9 |
# File 'lib/undrive_google/captive_file.rb', line 7 def @options end |
Instance Method Details
#liberate! ⇒ Object
Returns nil.
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/undrive_google/captive_file.rb', line 10 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 |