Closed Greyoxide closed 1 month ago
I will review within the next week.
OK. This looks fine.
Next week, I'm going to test it more thoroughly.
In the meantime, if you could implement my comments.
Thank you.
I'll take a look soon.
I'll be taking a look this week.
Merged and released in 3.0.3.
Hi this is my first ever pull request so let me know if I've done something wrong.
I've implemented a
get_pdf
method as described in issue number 62. I've also added a test to the test suite which tests this new method against the invoices endpoint. I've also tested the new method against the development mode on my production app by downloading a pdf copy of an invoice, estimate, and purchase order.In addition to the
get_pdf
method appended toqbo_api/api_methods.rb
, I've also adjusted the response method found inconnection.rb
. Given that application/json is the default content type, I've added a check to determine if this case is an exception to the default content type.