mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 22:34:47 +00:00
* feat(config): add Lunchflow runtime configuration flags * feat(api): add include_pending parameter to Lunchflow API * feat(processor): add pending metadata support to Lunchflow processor * feat(processor): generate temporary IDs for pending transactions * feat(importer): integrate pending transaction support in sync * fix(importer): improve deduplication for transactions without IDs * feat(model): add Lunchflow pending support to Transaction scopes * test: add Lunchflow processor pending metadata tests * docs: update AGENTS.md for Lunchflow pending support * chore: remove unused variable * fix: simplify key check * fix: dotenv-linter key order * fix: avoid collapsing distinct pending transactions * fix: prevent unbounded raw payload growth for blank IDs
13 lines
654 B
Ruby
13 lines
654 B
Ruby
# Lunchflow integration runtime configuration
|
|
Rails.application.configure do
|
|
# Controls whether pending transactions are included in Lunchflow syncs
|
|
# When true, adds include_pending=true to transaction fetch requests
|
|
# Default: false (only posted/settled transactions)
|
|
config.x.lunchflow.include_pending = ENV["LUNCHFLOW_INCLUDE_PENDING"].to_s.strip.downcase.in?(%w[1 true yes])
|
|
|
|
# Debug logging for raw Lunchflow API responses
|
|
# When enabled, logs the full raw JSON payload from Lunchflow API
|
|
# Default: false (only log summary info)
|
|
config.x.lunchflow.debug_raw = ENV["LUNCHFLOW_DEBUG_RAW"].to_s.strip.downcase.in?(%w[1 true yes])
|
|
end
|