mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
105842700-file_generation_changed
This commit is contained in:
parent
2748f3be55
commit
cd8feaf553
4 changed files with 15 additions and 7 deletions
|
@ -783,5 +783,10 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
def self.pdf(html)
|
||||
kit = PDFKit.new(html)
|
||||
kit.to_pdf
|
||||
end
|
||||
end
|
||||
# rubocop: enable Metrics/ClassLength
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue