coorasse / passkit

Wallet Pass generation for Ruby On Rails
MIT License
90 stars 27 forks source link

Optional configuration without environment variables #36

Open trusche opened 3 months ago

trusche commented 3 months ago

Hi @coorasse,

we just started using your gem in our Rails app, it's working great, so thank you, first of all!

We ran into a bit of trouble deploying this, though. If any of the required env variables is not set, not only will the gem not work (expected and acceptable), but the rails app will fail to start (not so good 😁 ).

This PR adds a couple of configuration changes, and might help addressing both #34 and #5.

Tests are still passing, but I didn't add any new ones since I'm more familiar with rspec and a bit short on time right now. Happy to amend that sometime later if needed.

Cheers, Thilo