module JsonApiResource::Cacheable

Public Instance Methods

cache_key() click to toggle source
# File lib/json_api_resource/cacheable.rb, line 8
def cache_key
  @cache_key ||= Digest::SHA256.hexdigest(self.to_json)
end