sources: add methods for customizing new artist entries.

* Rename `unique_id` to `tag_name`.

* Add `other_names` and `profile_urls` methods that sources can override
  to provide extra names or urls when creating new artist entries.
This commit is contained in:
evazion
2018-12-27 15:03:11 -06:00
parent 2170961f47
commit 1f73e60514
6 changed files with 38 additions and 23 deletions

View File

@@ -149,7 +149,7 @@ module Sources
illust_id.present? || novel_id.present? || fanbox_id.present? || fanbox_account_id.present?
end
def unique_id
def tag_name
moniker
end