lib/pupa/models/vote_event.rb in pupa-0.2.3 vs lib/pupa/models/vote_event.rb in pupa-0.2.4

- old
+ new

@@ -1,10 +1,10 @@ module Pupa # An event at which people's votes are recorded. class VoteEvent include Model - self.schema = 'popolo/vote_event' + self.schema = File.expand_path(File.join('..', '..', '..', 'schemas', 'popolo', 'vote_event.json'), __dir__) include Concerns::Timestamps include Concerns::Sourceable attr_accessor :identifier, :motion_id, :organization_id, :legislative_session_id, :start_date, :end_date, :result, :group_results, :counts