Sha256: 00640466a6139815e014111003e77d3844606bc25eb307415bd001d914b49630

Contents?: true

Size: 652 Bytes

Versions: 7

Compression:

Stored size: 652 Bytes

Contents

module MusicBrainz
  module Deprecated
    module ProxyConfig
      def query_interval
        MusicBrainz.config.query_interval
      end

      def query_interval=(value)
        MusicBrainz.config.query_interval = value
      end
    end

    module CacheConfig
      def cache_path
        MusicBrainz.config.cache_path
      end

      def cache_path=(value)
        MusicBrainz.config.cache_path = value
      end
    end
  end

  module Tools
    module Proxy
      extend Deprecated::ProxyConfig
    end

    module Cache
      extend Deprecated::CacheConfig
    end
  end

  extend Deprecated::ProxyConfig
  extend Deprecated::CacheConfig
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
musicbrainz-0.8.0 lib/musicbrainz/deprecated.rb
musicbrainz-0.7.7 lib/musicbrainz/deprecated.rb
musicbrainz-0.7.6 lib/musicbrainz/deprecated.rb
musicbrainz-0.7.5 lib/musicbrainz/deprecated.rb
musicbrainz-0.7.4 lib/musicbrainz/deprecated.rb
musicbrainz-0.7.3 lib/musicbrainz/deprecated.rb
musicbrainz-0.7.2 lib/musicbrainz/deprecated.rb