Fix Downloaders namespace

Our namespace was singular Downloader, now it is plural Downloaders to match the folder name
This commit is contained in:
Justin Edmund 2025-01-17 11:52:15 -08:00
parent 78563142a9
commit 3c8b4fdcce
5 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
module Granblue
module Downloader
module Downloaders
class BaseDownloader
SIZES = %w[main grid square].freeze

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
module Granblue
module Downloader
module Downloaders
class CharacterDownloader < BaseDownloader
def download
character = Character.find_by(granblue_id: @id)

View file

@ -3,7 +3,7 @@
require_relative 'weapon_downloader'
module Granblue
module Downloader
module Downloaders
class ElementalWeaponDownloader < WeaponDownloader
SUFFIXES = [2, 3, 4, 1, 6, 5].freeze

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
module Granblue
module Downloader
module Downloaders
class SummonDownloader < BaseDownloader
def download
summon = Summon.find_by(granblue_id: @id)

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
module Granblue
module Downloader
module Downloaders
class WeaponDownloader < BaseDownloader
def download
weapon = Weapon.find_by(granblue_id: @id)