Files
sure/app/models/lunchflow_item/provided.rb
soky srm be0b20dfd9 Lunchflow settings family (#363)
* Move provider config to family

* remove global settings

* Remove turbo auto  submit

* Fix flash location

* Fix mssing syncer for lunchflow

* Update schema.rb

* FIX tests and encryption config

* FIX make rabbit happy

* FIX run migration in SQL

* FIX turbo frame modal

* Branding fixes

* FIX rabbit

* OCD with product names

* More OCD

* No other console.log|warn in codebase

---------

Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
2025-11-22 02:14:29 +01:00

10 lines
213 B
Ruby

module LunchflowItem::Provided
extend ActiveSupport::Concern
def lunchflow_provider
return nil unless credentials_configured?
Provider::Lunchflow.new(api_key, base_url: effective_base_url)
end
end