Exception: Terraformer::Credentials::DatadogMissingCredentals
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Terraformer::Credentials::DatadogMissingCredentals
- Defined in:
- lib/terraformer/credentials/datadog.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ DatadogMissingCredentals
constructor
A new instance of DatadogMissingCredentals.
- #message ⇒ Object
Constructor Details
#initialize(key) ⇒ DatadogMissingCredentals
Returns a new instance of DatadogMissingCredentals.
6 7 8 9 10 |
# File 'lib/terraformer/credentials/datadog.rb', line 6 def initialize(key) @key = key super() end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
4 5 6 |
# File 'lib/terraformer/credentials/datadog.rb', line 4 def key @key end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/terraformer/credentials/datadog.rb', line 12 def "'#{key}' not being passed. set it via CLI --#{key} or #{key.upcase} enviroment variable." end |