PDFCLOUD-5202 Add Ruby examples for pdfRest API integration - #105
Merged
datalogics-tsmith merged 7 commits intoSep 4, 2025
Merged
datalogics-tsmith merged 7 commits into
datalogics-tsmith merged 7 commits into
Conversation
datalogics-kam
force-pushed
the
pdfcloud-5202-initial-ruby-routes
branch
from
September 2, 2025 21:36
64a2fa0 to
0410531
Compare
datalogics-kam
marked this pull request as ready for review
September 3, 2025 14:08
datalogics-kam
force-pushed
the
pdfcloud-5202-initial-ruby-routes
branch
from
September 3, 2025 17:30
a173fc6 to
2ee6f71
Compare
- Add JSON and Multipart payload examples demonstrating API usage. - Include `.env.example` and integrate `dotenv` for API key management. - Add `.gitignore` tailored for Ruby projects. - Introduce `Gemfile` and `Gemfile.lock` for dependency management. - Provide comprehensive documentation in `README.md`.
- Document project structure, coding conventions, and testing process. - Provide instructions for setup, development, and sample execution. - Include commit, PR guidelines, and security tips.
- Update `README.md` with details on optional EU API endpoint for GDPR compliance. - Extend `.env.example` to include configurable `PDFREST_URL` for overriding the default API base URL. - Refactor Ruby examples to dynamically use the base URL from environment variables.
- Specify use of `ENV['PDFREST_URL']` for setting the API base URL (defaulting to `https://api.pdfrest.com`).
- Introduce `merge-different-file-types.rb` demonstrating file conversion and merging via pdfRest API. - Leverage `.env` for API key and base URL configuration. - Support various file types with content type detection and dynamic conversion to PDF. - Updated README.md
- Standardize header comments across Ruby samples for clarity and consistency. - Update `.env.example` with API key instructions and optional EU endpoint configuration. - Enhance Ruby examples with detailed setup, usage, and output instructions. - Revise `AGENTS.md` with audience and tone guidelines for sample development.
datalogics-kam
force-pushed
the
pdfcloud-5202-initial-ruby-routes
branch
from
September 3, 2025 20:41
2ee6f71 to
fe0fd15
Compare
- Included URL for detailed GDPR compliance info across Ruby examples, `AGENTS.md`, and `.env.example`. - Enhanced comments to guide users on EU region API usage.
datalogics-tsmith
approved these changes
Sep 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.env.exampleand integratedotenvfor API key management..gitignoretailored for Ruby projects.GemfileandGemfile.lockfor dependency management.README.md.