mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Move size constant to LegalDocument class
This commit is contained in:
parent
9f21b1704c
commit
31a463c587
3 changed files with 4 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
|||
class LegalDocument < ApplicationRecord
|
||||
include EppErrors
|
||||
MIN_BODY_SIZE = (1.37 * 3.kilobytes).ceil
|
||||
MAX_BODY_SIZE = 8.megabytes
|
||||
|
||||
if ENV['legal_document_types'].present?
|
||||
TYPES = ENV['legal_document_types'].split(',').map(&:strip)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue