Sha256: 4e0042294165f828f201d7aa079c2b58b0426cf227f7085ff4c2f0e4db6b8b54

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

module Models::Groups
  class Membership < ActiveRecord::Base
    self.table_name = :restpack_group_memberships

    attr_accessible :application_id, :account_id, :group_id, :invitation_id, :user_id
    validates_presence_of :application_id, :group_id, :user_id

    belongs_to :group
    belongs_to :invitation
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_group_service-0.0.8 lib/restpack_group_service/models/membership.rb