mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 22:34:47 +00:00
* 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>
10 lines
213 B
Ruby
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
|