Sha256: 07adb69fb9d53b5a9fa83aa72c3ebdea202720a8365c57e6ad66c71ed26c573b

Contents?: true

Size: 198 Bytes

Versions: 2

Compression:

Stored size: 198 Bytes

Contents

class Patent < ApplicationRecord
  include Aeternitas::Pollable

  polling_options do
    polling_frequency ->(patent) { patent.last_polling + 2.weeks }
  end

  def poll
    raise "Test"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aeternitas_web_ui-0.2.1 spec/dummy/app/models/patent.rb
aeternitas_web_ui-0.2.0 spec/dummy/app/models/patent.rb