sources: factor out Source::URL::Skeb.

This commit is contained in:
evazion
2022-02-24 19:53:40 -06:00
parent 6523cd14cb
commit 26f4cf1ebd
7 changed files with 155 additions and 58 deletions

View File

@@ -43,8 +43,13 @@ module Danbooru
nil
end
# @return [String] the URL in normalized form
# @return [String] the URL in unnormalized form
def to_s
original_url
end
# @return [String] the URL in normalized form
def to_normalized_s
url.to_str
end