Class: Sem::API::EnvVars
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/env_vars.rb', line 6
def self.api
client.env_vars
end
|
.to_hash(env_var) ⇒ Object
10
11
12
13
14
15
16
17
|
# File 'lib/sem/api/env_vars.rb', line 10
def self.to_hash(env_var)
{
:id => env_var.id,
:name => env_var.name,
:encrypted? => env_var.encrypted,
:content => env_var.content
}
end
|