Sha256: f29c12709c2be5115b651ed9ddf6ee23e9193859288e0af02247821f34a23f8c
Contents?: true
Size: 632 Bytes
Versions: 7
Compression:
Stored size: 632 Bytes
Contents
# frozen_string_literal: true module Brevio::Session extend self # Function used to fetch the current audit company session for a given Brevio ID. # This session contains information about an audit company shared by any number of # users. If the audit company has been updated in ID (e.g. changed logo or name), the # database record of the local service (e.g. Confirm/Sign) will fetch the updates if # the timestamp in this session is greater than their own local timestamps. # def audit_company_updated_at(brevio_id) Config.config.redis.get("#{Config::Redis::Prefixes::AUDIT_COMPANY}:#{brevio_id}") end end
Version data entries
7 entries across 7 versions & 1 rubygems