Sha256: 4040ba7eec13ad41c4dd70ba326788001fc268e96f00661eedae8a454134639b
Contents?: true
Size: 879 Bytes
Versions: 2
Compression:
Stored size: 879 Bytes
Contents
module Harvesting module Models class Project < Base attributed :id, :client, :name, :code, :is_active, :is_billable, :is_fixed_fee, :bill_by, :hourly_rate, :budget, :budget_by, :notify_when_over_budget, :over_budget_notification_percentage, :over_budget_notification_date, :show_budget_to_all, :cost_budget, :cost_budget_include_expenses, :fee, :notes, :starts_on, :ends_on, :created_at, :updated_at def path id.nil? ? "projects" : "projects/#{id}" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
harvesting-0.2.0 | lib/harvesting/models/project.rb |
harvesting-0.1.0 | lib/harvesting/models/project.rb |