Sha256: 0de823607c0f8cc8c7dad5049d5ab366864c77cd44a4be0167dfa0e0b47efc64

Contents?: true

Size: 136 Bytes

Versions: 20

Compression:

Stored size: 136 Bytes

Contents

module Highrise
  class User < Base
    def join(group)
      Membership.create(:user_id => id, :group_id => group.id)
    end
  end
end

Version data entries

20 entries across 20 versions & 4 rubygems

Version Path
kmayer-highrise-0.11.0 lib/highrise/user.rb
kmayer-highrise-0.11.1 lib/highrise/user.rb
kmayer-highrise-0.12.0 lib/highrise/user.rb
kmayer-highrise-0.13.0 lib/highrise/user.rb
kmayer-highrise-0.7.0 lib/highrise/user.rb
kmayer-highrise-0.7.1 lib/highrise/user.rb
kmayer-highrise-0.8.0 lib/highrise/user.rb
kmayer-highrise-0.8.1 lib/highrise/user.rb
kmayer-highrise-0.9.0 lib/highrise/user.rb
kmayer-highrise-0.9.1 lib/highrise/user.rb
kmayer-highrise-0.9.2 lib/highrise/user.rb
kmayer-highrise-1.0.1 lib/highrise/user.rb
slainer68-highrise-0.6.1 lib/highrise/user.rb
slainer68-highrise-0.6.2 lib/highrise/user.rb
slainer68-highrise-0.6 lib/highrise/user.rb
tapajos-highrise-0.6 lib/highrise/user.rb
tapajos-highrise-0.8.0 lib/highrise/user.rb
highrise-1.0.4 lib/highrise/user.rb
highrise-1.0.3 lib/highrise/user.rb
highrise-1.0.2 lib/highrise/user.rb