Minor: classification.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-12-27 17:35:02 -05:00
parent 748fd06cbc
commit 6d459b7ac3

View File

@ -4,9 +4,9 @@ Class {
#category : #'Shortener-Model' #category : #'Shortener-Model'
} }
{ #category : #'as yet unclassified' } { #category : #operation }
YouTube class >> enlargeLink: shortLinkString [ YouTube class >> enlargeLink: shortLinkString [
| videoId videoLink shortLinkHost | | videoId shortLinkHost |
shortLinkHost := shortLinkString asZnUrl host. shortLinkHost := shortLinkString asZnUrl host.
(shortLinkHost = 'www.youtube.com') ifTrue: [ ^ shortLinkHost ]. (shortLinkHost = 'www.youtube.com') ifTrue: [ ^ shortLinkHost ].