Class: Organo::CLI::Commands::AnimeSequel::UpdateEntry
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Organo::CLI::Commands::AnimeSequel::UpdateEntry
- Defined in:
- lib/organo/commands/sequel/sequel_update.rb
Instance Method Summary collapse
Instance Method Details
#call(parent_id:, child_id:, **options) ⇒ Object
20 21 22 23 |
# File 'lib/organo/commands/sequel/sequel_update.rb', line 20 def call(parent_id:, child_id:, **) sequel = AnimeDatabase.instance.sequel_update(parent_id, child_id, ) puts sequel.first unless sequel.first.nil? end |