Class: Lighthouse::User

Inherits:
Base
  • Object
show all
Defined in:
lib/helm/lighthouse.rb

Instance Method Summary collapse

Methods inherited from Base

inherited

Instance Method Details

#membershipsObject



147
148
149
# File 'lib/helm/lighthouse.rb', line 147

def memberships
  Membership.find(:all, :params => {:user_id => id})
end

#to_sObject



151
152
153
# File 'lib/helm/lighthouse.rb', line 151

def to_s
  name
end