def if_stale?(record, options = {})
      if stale?(StaleOptions.create(record, options))
        block_given? ? yield(record) : true
      end
    end
def if_stale?(record, options = {})
      if stale?(StaleOptions.create(record, options))
        block_given? ? yield(record) : true
      end
    end
Usage:

  class ItemsController < ApplicationController
    include StaleOptions::Backend

    def index
      if_stale?(Item.all) do |items|
        render json: items
      end
    end
  end