Fix Downloaders namespace
Our namespace was singular Downloader, now it is plural Downloaders to match the folder name
This commit is contained in:
parent
78563142a9
commit
3c8b4fdcce
5 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Granblue
|
||||
module Downloader
|
||||
module Downloaders
|
||||
class BaseDownloader
|
||||
SIZES = %w[main grid square].freeze
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue