module ApiResponseCache
Constants
- VERSION
Public Class Methods
clear()
click to toggle source
# File lib/api-response-cache.rb, line 20 def self.clear Rails.cache.delete_matched('api-response-cache/*') end
configuration()
click to toggle source
# File lib/api-response-cache.rb, line 16 def self.configuration @configuration ||= ApiResponseCache::Config.new end
configure() { |configuration| ... }
click to toggle source
# File lib/api-response-cache.rb, line 12 def self.configure yield configuration end