Class: CloudEncryptedSync::Configuration
- Inherits:
-
Object
- Object
- CloudEncryptedSync::Configuration
- Defined in:
- lib/cloud_encrypted_sync/configuration.rb
Class Attribute Summary collapse
-
.cached_argv ⇒ Object
readonly
Returns the value of attribute cached_argv.
-
.option_parser ⇒ Object
readonly
Returns the value of attribute option_parser.
Class Method Summary collapse
Class Attribute Details
.cached_argv ⇒ Object (readonly)
Returns the value of attribute cached_argv.
6 7 8 |
# File 'lib/cloud_encrypted_sync/configuration.rb', line 6 def cached_argv @cached_argv end |
.option_parser ⇒ Object (readonly)
Returns the value of attribute option_parser.
6 7 8 |
# File 'lib/cloud_encrypted_sync/configuration.rb', line 6 def option_parser @option_parser end |
Class Method Details
.data_folder_path ⇒ Object
12 13 14 |
# File 'lib/cloud_encrypted_sync/configuration.rb', line 12 def data_folder_path [:data_dir] end |
.settings ⇒ Object
8 9 10 |
# File 'lib/cloud_encrypted_sync/configuration.rb', line 8 def settings @settings ||= load end |
.signature ⇒ Object
16 17 18 |
# File 'lib/cloud_encrypted_sync/configuration.rb', line 16 def signature Cryptographer.hash_data(cached_argv.to_s + config_file_settings.to_s) end |