OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/models/export.rb

12 lines
237 B

class Export < ApplicationRecord
has_one(
:job_status,
-> { where(reference_type: "Export") },
class_name: "JobStatus::Status",
foreign_key: :reference_id
)
def ready?
raise "subclass responsibility"
end
end