lib/pupa/models/membership.rb in pupa-0.1.7 vs lib/pupa/models/membership.rb in pupa-0.1.8

- old
+ new

@@ -8,15 +8,13 @@ include Concerns::Timestamps include Concerns::Sourceable include Concerns::Contactable include Concerns::Linkable - attr_accessor :label, :role, :person_id, :organization_id, :post_id, - :start_date, :end_date - dump :label, :role, :person_id, :organization_id, :post_id, - :start_date, :end_date + attr_accessor :label, :role, :member, :person_id, :organization_id, :post_id, :on_behalf_of_id, :area_id, :start_date, :end_date + dump :label, :role, :member, :person_id, :organization_id, :post_id, :on_behalf_of_id, :area_id, :start_date, :end_date - foreign_key :person_id, :organization_id, :post_id + foreign_key :person_id, :organization_id, :post_id, :on_behalf_of_id, :area_id # Returns the IDs of the parties to the relationship. # # @return [String] the IDs of the parties to the relationship def to_s