Class: LightRedisCache::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/light_redis_cache/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



6
7
8
9
# File 'lib/light_redis_cache/configuration.rb', line 6

def initialize
  @hostname = nil
  @port = nil
end

Instance Attribute Details

#hostnameObject

Returns the value of attribute hostname.



3
4
5
# File 'lib/light_redis_cache/configuration.rb', line 3

def hostname
  @hostname
end

#portObject

Returns the value of attribute port.



4
5
6
# File 'lib/light_redis_cache/configuration.rb', line 4

def port
  @port
end