Class: Organo::CLI::Commands::Anime::UpdateEntry
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Organo::CLI::Commands::Anime::UpdateEntry
- 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:, **) anime = AnimeDatabase.instance.anime_update(mal_id, ) puts anime.first unless anime.first.nil? end |