summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-04 12:42:56 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-10-04 12:59:11 +0200
commit448380ae81e3dfe182b9092880d4a314b39d034a (patch)
treeee5f34a250f2710d7decb732de8e832f69259146 /lib
parent1f63803e7bdac1abe4219e98a1a7bd84529ec144 (diff)
downloadnorsk-urskog-registrations-448380ae81e3dfe182b9092880d4a314b39d034a.tar.gz
norsk-urskog-registrations-448380ae81e3dfe182b9092880d4a314b39d034a.tar.bz2
norsk-urskog-registrations-448380ae81e3dfe182b9092880d4a314b39d034a.zip
Add dummy method to generate PDF from registration data.
Diffstat (limited to 'lib')
-rw-r--r--lib/registration.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/registration.rb b/lib/registration.rb
index 5a31ca0..51c7663 100644
--- a/lib/registration.rb
+++ b/lib/registration.rb
@@ -11,3 +11,8 @@ def send_registration_emails_for(band)
mail.deliver!
end
+
+def generate_pdf_for(band)
+ Prawn::Document.generate("#{band.name}.pdf") do
+ end
+end