lib/pulse_meter/mixins/dumper.rb
# Lists all dumped objects' names
# @return [Array<String>]
# @raise [RestoreError] if list cannot be retrieved for any reason
Lists all dumped objects' names
Lists all dumped objects ' names
def list_names
          PulseMeter.redis.hkeys(DUMP_REDIS_KEY)
        rescue
          raise RestoreError, "cannot get data from redis"
        end
def list_names PulseMeter . redis . hkeys ( DUMP_REDIS_KEY ) rescue raise RestoreError , "cannot get data from redis" end
Lists all dumped objects' names
Lists all dumped objects ' names
None
Array<String>
[RestoreError] if list cannot be retrieved for any reason
[ RestoreError ] if list cannot be retrieved for any reason