Class: Mite::Customer
Instance Method Summary
collapse
included
Methods inherited from Base
all, first, inherited, last
Instance Method Details
#projects(options = {}) ⇒ Object
9
10
11
|
# File 'lib/mite/customer.rb', line 9
def projects(options = {})
Mite::Project.find(:all, :params => options.update(:customer_id => id))
end
|
#time_entries(options = {}) ⇒ Object
5
6
7
|
# File 'lib/mite/customer.rb', line 5
def time_entries(options = {})
Mite::TimeEntry.find(:all, :params => options.update(:customer_id => id))
end
|