Class: Unfuddle::Project

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/unfuddle/project.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.allObject



7
8
9
# File 'lib/unfuddle/project.rb', line 7

def self.all
  find(:all, :from => "/projects.xml")
end

Instance Method Details

#ticketsObject



3
4
5
# File 'lib/unfuddle/project.rb', line 3

def tickets
  Ticket.find(:all, :from => "/projects/#{id}/tickets")
end