Class: Harvesting::Models::TimeEntry
- Defined in:
- lib/harvesting/models/time_entry.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
attributed, #create, #initialize, #save, #to_hash, #update
Constructor Details
This class inherits a constructor from Harvesting::Models::Base
Instance Method Details
#path ⇒ Object
27 28 29 |
# File 'lib/harvesting/models/time_entry.rb', line 27 def path id.nil? ? "time_entries" : "time_entries/#{id}" end |