Class: Organo::CLI::Commands::AnimeSequel::UpdateEntry

Inherits:
Dry::CLI::Command
  • Object
show all
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:, **options)
  sequel = AnimeDatabase.instance.sequel_update(parent_id, child_id, options)
  puts sequel.first unless sequel.first.nil?
end