Class: Organo::CLI::Commands::Anime::UpdateEntry

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/organo/commands/anime/anime_update.rb

Instance Method Summary collapse

Instance Method Details

#call(mal_id:, **options) ⇒ Object



18
19
20
21
# File 'lib/organo/commands/anime/anime_update.rb', line 18

def call(mal_id:, **options)
  anime = AnimeDatabase.instance.anime_update(mal_id, options)
  puts anime.first unless anime.first.nil?
end