Class: Organo::CLI::Commands::AnimeSequel::SetEntry

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

Instance Method Summary collapse

Instance Method Details

#call(parent_id:, child_id:, type:, type_num:, subtype:, subtype_num:, subtype_selector:) ⇒ Object



20
21
22
23
# File 'lib/organo/commands/sequel/sequel_set.rb', line 20

def call(parent_id:, child_id:, type:, type_num:, subtype:, subtype_num:, subtype_selector:, **)
  sequel = AnimeDatabase.instance.sequel_set(parent_id, child_id, type, type_num, subtype, subtype_num, subtype_selector)
  puts sequel.first unless sequel.first.nil?
end