Sha256: 07e86d55d627be76b8fd894620a94db448063f9fc7bca79bdc9f75496695cd01

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

require 'faraday_api_cache/version'
require 'faraday_api_cache/middleware'

module FaradayAPICache
  class << self
    def logger=(logger)
      APICache.logger = logger
    end

    def store=(store)
      APICache.store = store
    end
  end
end

Faraday::Request.register_middleware api_cache: FaradayAPICache::Middleware

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faraday_api_cache-0.0.3 lib/faraday_api_cache.rb