Employers working - onboarding to card print
This commit is contained in:
@@ -4,16 +4,12 @@ module SampleCard
|
||||
def initialize(jasper_url)
|
||||
@jasper_url = jasper_url
|
||||
end
|
||||
|
||||
|
||||
def call
|
||||
|
||||
response = HTTParty.get(@jasper_url)
|
||||
card_pdf = CombinePDF.parse(response.body)
|
||||
|
||||
# todays_date = Date.today.strftime("%m-%d-%Y")
|
||||
# card_pdf.save("tmp/service_test_member_id_card_#{todays_date}.pdf")
|
||||
|
||||
card_pdf
|
||||
CombinePDF.parse(response.body)
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user