Top Level Namespace
Defined Under Namespace
Modules: Aptible
Instance Method Summary collapse
Instance Method Details
#with_sensitive(resource) ⇒ Object
14 15 16 17 |
# File 'lib/aptible/cli.rb', line 14 def with_sensitive(resource) resource.headers['Prefer'] = 'no_sensitive_extras=false' resource.find_by_url(resource.href) end |
#without_sensitive(resource) ⇒ Object
19 20 21 22 |
# File 'lib/aptible/cli.rb', line 19 def without_sensitive(resource) resource.headers['Prefer'] = 'no_sensitive_extras=true' resource.find_by_url(resource.href) end |