birarda / logan

ruby gem to communicate with new Basecamp API
MIT License
16 stars 19 forks source link

Add user to project by id or email and list of user who have access #9

Closed shulhi closed 10 years ago

shulhi commented 10 years ago

Two features

  1. Add user by id or email
logan = Logan::Client.new(....)

logan.projects.first.add_user_by_id(123456)
logan.projects.first.add_user_by_email('dummy@gmail.com')
  1. Get list of users who have access to the project
# will return List of Person
logan.projects.first.accesses
birarda commented 10 years ago

Hey @shulhi this is great work!

In the future if you can add comments with the methods you add so that yardoc gets them added that would be great.

For now I'll add those and then send rubygems a new release.

shulhi commented 10 years ago

@birarda sure, will do that next time. Thanks for the gem anyway, save me tons of time!