lib/alba/resources/default_resource.rb in alba-0.8.0 vs lib/alba/resources/default_resource.rb in alba-0.9.0

- old
+ new

@@ -1,9 +1,13 @@ module Alba module Resources # Empty resource class, use this with `class_eval` for # inline associations and serializations. class DefaultResource - include ::Alba::Resource + include Alba::Resource + + def self.reset + @_attributes = {} + end end end end