module Lobbyliste

Constants

VERSION

Public Class Methods

fetch_and_parse(pdf_link=nil) click to toggle source

Download the PDF and parse it @param [String] link to Lobbyliste pdf, if left out pdf link is retrieved automatically from Bundestag website @return [Lobbyliste::Liste]

# File lib/lobbyliste.rb, line 16
def self.fetch_and_parse(pdf_link=nil)
  downloader = Lobbyliste::Downloader.new(pdf_link)
  Lobbyliste::Factories::ListFactory.build(downloader.text_data,downloader.html_data)
end