Unfuddler
Unfuddler is a simple Ruby API to Unfuddle's projects and tickets. Primarily made for ticketmaster.
Usage
Unfuddler.authenticate(:username => "john", :password => "seekrit", :subdomain => "johnscompany")
# Project#find returns all projects, fetching last element from array with Array#last
project = Unfuddler.project.find.last
# Fetch all new tickets where the status is new
new_tickets = project.tickets.find(:status => "new")
# Close ticket with a resolution
new_tickets.first.close!(:resolution => "fixed", :description => "I fixed it!")
Note on Patches/Pull Requests
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so I don't break it in a future version unintentionally.
- Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
- Send me a pull request. Bonus points for topic branches.
Copyright
Copyright (c) 2010 Hybrid Group. See LICENSE for details.