app/commands/fever_api/read_favicons.rb
# frozen_string_literal: true
class FeverAPI::ReadFavicons
ICON = "R0lGODlhAQABAIAAAObm5gAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
class << self
def call(params)
if params.key?(:favicons)
{ favicons: }
else
{}
end
end
private
def favicons
[
{
id: 0,
data: "image/gif;base64,#{ICON}"
}
]
end
end
end