Sha256: 909cb2c15e5a740fedfc3fe8e6882eacbee865486f93c51eb3ce45fdcfad5cfe
Contents?: true
Size: 520 Bytes
Versions: 13
Compression:
Stored size: 520 Bytes
Contents
class MembershipAward extend ActiveModel::Naming include ActiveModel::Conversion include ActiveModel::Validations attr_accessor :people, :search, :organization, :membership_type, :number_of_memberships, :ends_at, :message, :send_email, :notes, :sold_price def persisted? false end def people_ids people.nil? ? [] : people.collect(&:id) end end
Version data entries
13 entries across 13 versions & 1 rubygems