Sha256: d4d4e8b49241a4e9c82602461b35d5d94fbcf2b872a85e9027fdda62586d71a1

Contents?: true

Size: 489 Bytes

Versions: 5

Compression:

Stored size: 489 Bytes

Contents

module Exchange
  module Cache
    # @author Beat Richartz
    # A Class that handles caching configuration options
    # 
    # @version 0.9
    # @since 0.9
    #
    class Configuration < Exchange::Configurable
      attr_accessor :expire, :host, :port, :path
      
      def_delegators :instance, :expire, :expire=, :host, :host=, :port, :port=, :path, :path=
      
      def parent_module
        Cache
      end
      
      def key
        :cache
      end
    
    end
  end 
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
exchange-0.11.0 lib/exchange/cache/configuration.rb
exchange-0.10.2 lib/exchange/cache/configuration.rb
exchange-0.10.1 lib/exchange/cache/configuration.rb
exchange-0.10.0 lib/exchange/cache/configuration.rb
exchange-0.9.0 lib/exchange/cache/configuration.rb