lib/alba/key_transformer.rb in alba-0.13.0 vs lib/alba/key_transformer.rb in alba-0.13.1
- old
+ new
@@ -22,10 +22,10 @@
when :lower_camel
ActiveSupport::Inflector.camelize(key, false)
when :dash
ActiveSupport::Inflector.dasherize(key)
else
- raise ::Alba::Error, "Unknown transform_type: #{transform_type}. Supported transform_type are :camel and :dash."
+ raise ::Alba::Error, "Unknown transform_type: #{transform_type}. Supported transform_type are :camel, :lower_camel and :dash."
end
end
end
end