mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 21:56:12 +08:00
7 lines
215 B
Ruby
7 lines
215 B
Ruby
# frozen_string_literal: true
|
|
|
|
class WopiAction < ApplicationRecord
|
|
belongs_to :wopi_app, foreign_key: 'wopi_app_id', class_name: 'WopiApp'
|
|
|
|
validates :action, :extension, :urlsrc, :wopi_app, presence: true
|
|
end
|