Sha256: 93472faf7e78348333c6c187f1b61b370333c4f81629bcc47845c87bdd46e7d6

Contents?: true

Size: 449 Bytes

Versions: 6

Compression:

Stored size: 449 Bytes

Contents

module Tr3llo
  module Command
    module Card
      module RemoveChecklist
        extend self

        def execute(checklist_key)
          checklist_id = Entities.parse_id(:checklist, checklist_key)
          API::Checklist.delete(checklist_id)

          interface = Application.fetch_interface!()

          interface.print_frame do
            interface.puts("Checklist has been removed")
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
3llo-1.3.1 lib/3llo/command/card/remove_checklist.rb
3llo-1.3.1.pre.rc.0 lib/3llo/command/card/remove_checklist.rb
3llo-1.2.0 lib/3llo/command/card/remove_checklist.rb
3llo-1.1.0 lib/3llo/command/card/remove_checklist.rb
3llo-1.0.0 lib/3llo/command/card/remove_checklist.rb
3llo-1.0.0.pre.rc.0 lib/3llo/command/card/remove_checklist.rb