lib/hexlet/teacher_client.rb in hexlet-0.2.2 vs lib/hexlet/teacher_client.rb in hexlet-0.3.0

- old
+ new

@@ -1,16 +1,15 @@ module Hexlet class TeacherClient < BaseClient - def submit(slug, locale, file) + def submit(slug, file) url = @router.api_teacher_lessons_url @logger.debug url fd = ENV["TEST"] ? "a" : File.new(file, "rb") # FIXME attrs = { lesson: { slug: slug, - locale: locale, "packs_attributes[]" => [ {tarball: fd} ] } }