Sha256: ab08bd30450f4707a31981c2ae9ea8a6ca54127cc9a9356f72b9e1af64dc0558
Contents?: true
Size: 449 Bytes
Versions: 14
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true module RedisWebManager class Connection < Base def host @host ||= connection[:host] end def port @port ||= connection[:port] end def db @db ||= connection[:db] end def id @id ||= connection[:id] end def location @location ||= connection[:location] end private def connection @connection ||= redis.connection end end end
Version data entries
14 entries across 14 versions & 1 rubygems