Initial commit

This commit is contained in:
Senad Uka
2020-05-31 22:38:19 +02:00
commit 858fafc3c5
1280 changed files with 65918 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
class FilesForRequest
def initialize(video)
@video = video
end
def start_timecode_offset
end
def file_object_name
video.file.key if video.file.attached?
end
def edl_file_object_name
video.edl_file.key if video.edl_file.attached?
end
def aws_bucket_name
ENV["AWS_BUCKET"]
end
def job_id
video.analysis_uid
end
private
attr_reader :video
end