Files
adamantium/slices/admin/repos/webmention_repo.rb

21 lines
364 B
Ruby

module Admin
module Repos
class WebmentionRepo < Adamantium::DB::Repo[:webmentions]
commands update: :by_pk
def list_all_for_check
webmentions
.exclude(source_url: "email")
.order(:id)
.to_a
end
def list_all
webmentions
.order(:id)
.to_a
end
end
end
end