Method: Pdfcrowd::HtmlToPdfClient#setFooterUrl
- Defined in:
- lib/pdfcrowd.rb
#setFooterUrl(url) ⇒ Object
1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/pdfcrowd.rb', line 1124 def (url) unless /(?i)^https?:\/\/.*$/.match(url) raise Error.new(Pdfcrowd.(url, "setFooterUrl", "html-to-pdf", "Supported protocols are http:// and https://.", "set_footer_url"), 470); end @fields['footer_url'] = url self end |