You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 7, 2020. It is now read-only.
Hi there @anthonydb, this is @reefdog, a developer with DocumentCloud. We're really excited that you've written this impressive library for interacting with our API, and want to be of any help we can.
We noticed that when users of pneumatic set boolean options (like force_ocr), it hits our server with Python-style boolean values (True or False). Unfortunately, Rails doesn't coerce these into their respective boolean values; they both get treated as strings. You'll need to make sure you're sending all booleans as true or false (lowercase) in order to trigger expected behavior from our API.
You can actually find this and more helpful information on our API documentation page, which, thanks to our stellar employees and contributors is even available in Spanish if you're logged in and have your workspace set to Spanish.