Class: Sem::API::Files
Constant Summary
Constants inherited
from Base
Base::CREDENTIALS_PATH
Class Method Summary
collapse
add_to_shared_config, list_for_shared_config, remove_from_shared_config
Methods inherited from Base
client
Class Method Details
.api ⇒ Object
6
7
8
|
# File 'lib/sem/api/files.rb', line 6
def self.api
client.config_files
end
|
.to_hash(files) ⇒ Object
10
11
12
13
14
15
16
|
# File 'lib/sem/api/files.rb', line 10
def self.to_hash(files)
{
:id => files.id,
:name => files.path,
:encrypted? => files.encrypted
}
end
|