lib/exercism/api.rb in exercism-0.0.19 vs lib/exercism/api.rb in exercism-0.0.20
- old
+ new
@@ -54,10 +54,10 @@
end
def endpoint(action = nil)
"/api/v1/#{action}".chomp('/')
end
-
+
def save(body)
Assignment.save(JSON.parse(body), project_dir)
end
end
end