diff --git a/lib/snapshot.rb b/lib/snapshot.rb index fec3e5d..42a4e3d 100644 --- a/lib/snapshot.rb +++ b/lib/snapshot.rb @@ -2,7 +2,7 @@ require 'virtus' require 'currency' class Snapshot - include Virtus + include Virtus.model attribute :base, String, default: 'EUR' attribute :date, Date