Sha256: bab70d4b561da0a1760b9def4ec5f79ed0fa9a7ca0428a2417e8bfc47d17d8fa
Contents?: true
Size: 810 Bytes
Versions: 1
Compression:
Stored size: 810 Bytes
Contents
module Harvesting module Models class TimeEntry < Base attributed :id, :spent_date, :hours, :notes, :created_at, :updated_at, :is_locked, :locked_reason, :is_closed, :is_billed, :timer_started_at, :started_time, :ended_time, :is_running, :invoice, :external_reference, :billable, :budgeted, :billable_rate, :cost_rate, :project_id, :task_id def path id.nil? ? "time_entries" : "time_entries/#{id}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
harvesting-0.1.0 | lib/harvesting/models/time_entry.rb |