README.md in fillable-pdf-0.1.0 vs README.md in fillable-pdf-0.1.1

- old
+ new

@@ -34,36 +34,40 @@ ``` An instance of `FillablePDF` has the following methods at its disposal: ```ruby -pdf.get_field('full_name') +pdf.has_fields? # returns true if the form has any fillable fields -pdf.set_field('first_name', 'Richard') +pdf.num_fields # get the total number of fillable form fields -pdf.set_fields({first_name: 'Richard', last_name: 'Rahl'}) +pdf.get_field('full_name') # retrieve a single field value by field name + +pdf.set_field('first_name', 'Richard') # set a single field + +pdf.set_fields({first_name: 'Richard', last_name: 'Rahl'}) # set multiple fields ``` Once the PDF is filled out you can either overwrite it or save it as another file: ```ruby pdf.save -pdf.save_as(file) +pdf.save_as('output.pdf') ``` Or if you prefer to flatten the file (i.e. make it non-editable), you can instead use: ```ruby pdf.save(true) -pdf.save_as(file, true) +pdf.save_as('output.pdf', true) ``` ## Example -For a a fuller usage example of this gem, please see the contents of the `test` directory. +For a fuller usage example of this gem, please see the contents of the `test` directory. ## Contributing 1. Fork it \ No newline at end of file