♻️ Turn new elements properties into methods
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 21 Jan 2023 22:52:14 +0000 (23:52 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 21 Jan 2023 22:52:14 +0000 (23:52 +0100)
commitfda2239d4bd30e90a397d4cc3726250270876856
treef40e2fd1727d55cd4ae898abe9d8e3272b458b2b
parent4965986ea98879fbe0a2ca9bcf8dbeeeaebaa9ef
♻️ Turn new elements properties into methods

We need that because in the next step a Sone will be handed in to that method
so the new elements can be filtered.
src/main/kotlin/net/pterodactylus/sone/web/NewElements.kt
src/main/kotlin/net/pterodactylus/sone/web/ajax/GetStatusAjaxPage.kt
src/main/kotlin/net/pterodactylus/sone/web/pages/NewPage.kt
src/test/kotlin/net/pterodactylus/sone/web/NewElementsTest.kt
src/test/kotlin/net/pterodactylus/sone/web/ajax/TestObjects.kt
src/test/kotlin/net/pterodactylus/sone/web/pages/NewPageTest.kt