Exception: Dependabot::MissingEnvironmentVariable

Inherits:
DependabotError
  • Object
show all
Defined in:
lib/dependabot/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environment_variable) ⇒ MissingEnvironmentVariable

Returns a new instance of MissingEnvironmentVariable.



130
131
132
133
# File 'lib/dependabot/errors.rb', line 130

def initialize(environment_variable)
  @environment_variable = environment_variable
  super("Missing environment variable #{environment_variable}")
end

Instance Attribute Details

#environment_variableObject (readonly)

Returns the value of attribute environment_variable.



128
129
130
# File 'lib/dependabot/errors.rb', line 128

def environment_variable
  @environment_variable
end