lib/ridley/resource.rb in ridley-0.1.0 vs lib/ridley/resource.rb in ridley-0.2.0

- old
+ new

@@ -66,10 +66,10 @@ @attributes ||= Set.new end # @return [Hash] def attribute_defaults - @attribute_defaults ||= Hash.new + @attribute_defaults ||= HashWithIndifferentAccess.new end # @param [String, Symbol] name # @option options [Object] :default # defines the default value for the attribute