Exception: Humidifier::Config::Mapper::InvalidResourceAttributeError

Inherits:
Error
  • Object
show all
Defined in:
lib/humidifier/config/mapper.rb

Overview

Raised when the attribute given in the file could not be matched to an attribute in the mapper.

Instance Method Summary collapse

Constructor Details

#initialize(clazz, key) ⇒ InvalidResourceAttributeError

Returns a new instance of InvalidResourceAttributeError.



14
15
16
# File 'lib/humidifier/config/mapper.rb', line 14

def initialize(clazz, key)
  super("Invalid attribute name given for #{clazz.aws_name}: #{key}")
end