novuhq / novu-ruby

Ruby SDK for Novu - The open-source notification infrastructure for engineers. 🚀
https://rubygems.org/gems/novu
MIT License
23 stars 10 forks source link

Add Environment Variable for Custom API URL #31

Closed GhaniyKie closed 1 year ago

GhaniyKie commented 1 year ago

This will allow users with Self-hosted Novu being able to define theirs Custom URL through NOVU_BASE_API_URL Environment Variable. Without define it while Novu Object Creation. e,g: notification = Novu::Client.new('custom://local.url', <api_key>')