Sha256: 7bc1aa5f726a0134d8094cc725d3f6f873799b6f37116da2a84a4ed0cd429d74

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

module Applicants
  class Video < ActiveRecord::Base
    attr_accessible :applicant,  :filename, :video_url, :video_url_ssl
    belongs_to :applicant

    def temporary_video_url
      Applicants::VideoUrlUtility.new(video_url).temporary
    end

    def remove_video!
      Applicants::VideoUrlUtility.new(video_url).remove!
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicants-0.11.0 app/models/applicants/video.rb