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 # frozen_string_literal: true
module Granblue module Granblue
module Downloader module Downloaders
class BaseDownloader class BaseDownloader
SIZES = %w[main grid square].freeze SIZES = %w[main grid square].freeze

View file

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

View file

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

View file

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

View file

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