This commit is contained in:
2026-05-02 04:26:25 +09:00
parent 6ee621e565
commit fd479cd93a
6 changed files with 568 additions and 2 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ module Youtube
raise ArgumentError, 'id or handle is required' if id.present? == handle.present?
params = { part: 'snippet,contentDetails' }
params[:id] = id if id
params[:forHandle] = handle if handle
params[:id] = id if id.present?
params[:forHandle] = handle if handle.present?
get_json('/channels', params)
end