Sha256: 1670108771b99837a666ffd1ddc60aa17d85fbd85ee8e7a39b8ffb4e99904340

Contents?: true

Size: 214 Bytes

Versions: 7

Compression:

Stored size: 214 Bytes

Contents

class Recording < ApplicationRecord
  caches :slow_method, expires_in: 1.hour

  def slow_method
    42
  end

  def another_method
    number
  end

  def unsupported_method(parameter)
    parameter * 2
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cache_keeper-0.6.1 test/dummy/app/models/recording.rb
cache_keeper-0.6.0 test/dummy/app/models/recording.rb
cache_keeper-0.5.1 test/dummy/app/models/recording.rb
cache_keeper-0.5.0 test/dummy/app/models/recording.rb
cache_keeper-0.4.1 test/dummy/app/models/recording.rb
cache_keeper-0.4.0 test/dummy/app/models/recording.rb
cache_keeper-0.3.0 test/dummy/app/models/recording.rb