Class: Highrise::User
- Defined in:
- lib/highrise/user.rb
Class Method Summary collapse
-
.me ⇒ Object
Permits API-key retrieval using name and password.
Instance Method Summary collapse
Class Method Details
.me ⇒ Object
12 13 14 15 |
# File 'lib/highrise/user.rb', line 12 def self.me user = User.new() find(:one, :from => "/me.xml") end |
Instance Method Details
#join(group) ⇒ Object
3 4 5 |
# File 'lib/highrise/user.rb', line 3 def join(group) Membership.create(:user_id => id, :group_id => group.id) end |