Class: Mite::Service

Inherits:
Base
  • Object
show all
Defined in:
lib/mite/service.rb

Instance Method Summary collapse

Methods inherited from Base

all, first, inherited, last, undo_destroy, #undo_destroy

Instance Method Details

#time_entries(options = {}) ⇒ Object



3
4
5
# File 'lib/mite/service.rb', line 3

def time_entries(options = {})
  TimeEntry.find(:all, :params => options.update(:service_id => id))
end