lib/vault-tools/config.rb in vault-tools-0.3.2 vs lib/vault-tools/config.rb in vault-tools-0.3.3
- old
+ new
@@ -41,7 +41,11 @@
end
def enable_ssl?
!env('VAULT_TOOLS_DISABLE_SSL')
end
+
+ def int(key)
+ env(key) ? env(key).to_i : nil
+ end
end
end