Sha256: 71f7b0fcdf361a1bc99d2eff7ac93b9c8a573d9928bc04c0694edb00ed5aea27

Contents?: true

Size: 369 Bytes

Versions: 2

Compression:

Stored size: 369 Bytes

Contents

module Cadenero
  # Defines that a Cadenero::User is member of an Cadenero::V1::Account
  class Member < ActiveRecord::Base
    include Cadenero::AuthToken
    attr_accessible :account_id, :user_id
    belongs_to :account,  :class_name => "Cadenero::V1::Account"
    belongs_to :user,  :class_name => "Cadenero::User"
    after_create :ensure_auth_token!

  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cadenero-0.0.2.b8 app/models/cadenero/member.rb
cadenero-0.0.2.b7 app/models/cadenero/member.rb