lib/pupa/models/membership.rb in pupa-0.2.3 vs lib/pupa/models/membership.rb in pupa-0.2.4
- old
+ new
@@ -1,10 +1,10 @@
module Pupa
# A relationship between a person and an organization.
class Membership
include Model
- self.schema = 'popolo/membership'
+ self.schema = File.expand_path(File.join('..', '..', '..', 'schemas', 'popolo', 'membership.json'), __dir__)
include Concerns::Timestamps
include Concerns::Sourceable
include Concerns::Contactable
include Concerns::Linkable