Module: Brevio::Session
- Extended by:
- Session
- Included in:
- Session
- Defined in:
- lib/brevio/session/with_session_login.rb,
lib/brevio/session/cookies/parse.rb,
lib/brevio/session/testing.rb,
lib/brevio/session/redis.rb,
lib/brevio_session.rb,
lib/brevio/session.rb
Defined Under Namespace
Modules: Redis, Testing, WithSessionLogin Classes: NilSession
Instance Method Summary collapse
-
#audit_company_updated_at(brevio_id) ⇒ Object
Function used to fetch the current audit company session for a given Brevio ID.
Instance Method Details
#audit_company_updated_at(brevio_id) ⇒ Object
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.
11 12 13 |
# File 'lib/brevio/session.rb', line 11 def audit_company_updated_at(brevio_id) Config.config.redis.get("#{Config::Redis::Prefixes::AUDIT_COMPANY}:#{brevio_id}") end |