Class: OktaRedis::Profile

Inherits:
Model show all
Defined in:
app/models/okta_redis/profile.rb

Constant Summary collapse

CLASS_NAME =
'ProfileService'

Constants inherited from Model

Model::REDIS_CONFIG_KEY

Constants inherited from Common::RedisStore

Common::RedisStore::REQ_CLASS_INSTANCE_VARS

Instance Attribute Summary

Attributes inherited from Model

#user

Instance Method Summary collapse

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 Method Details

#idObject



6
7
8
# File 'app/models/okta_redis/profile.rb', line 6

def id
  okta_response['id']
end