Class: OktaRedis::Model

Inherits:
Common::RedisStore show all
Includes:
Common::CacheAside, SentryLogging
Defined in:
app/models/okta_redis/model.rb

Direct Known Subclasses

App, Grants, Profile

Constant Summary collapse

REDIS_CONFIG_KEY =
:okta_response

Constants inherited from Common::RedisStore

Common::RedisStore::REQ_CLASS_INSTANCE_VARS

Instance Attribute Summary collapse

Method Summary

Methods included from SentryLogging

#log_exception_to_sentry, #log_message_to_sentry, #non_nil_hash?, #normalize_level, #rails_logger

Methods included from Common::CacheAside

#cache, #cached?, #do_cached_with

Methods inherited from Common::RedisStore

create, delete, #destroy, #destroyed?, exists?, #expire, find, find_or_build, #initialize, #initialize_dup, keys, #persisted?, pop, redis_key, redis_store, redis_ttl, #save, #save!, #ttl, #update, #update!

Constructor Details

This class inherits a constructor from Common::RedisStore

Instance Attribute Details

#idObject

Returns the value of attribute id.



13
14
15
# File 'app/models/okta_redis/model.rb', line 13

def id
  @id
end

#userObject

Returns the value of attribute user.



13
14
15
# File 'app/models/okta_redis/model.rb', line 13

def user
  @user
end