lib/exercism/api.rb in exercism-0.0.27 vs lib/exercism/api.rb in exercism-0.0.28

- old
+ new

@@ -68,9 +68,16 @@ req.params['key'] = user.key end JSON.parse(response.body) end + def current + conn.get do |req| + req.url endpoint('user/assignments/current') + req.params = {:key => user.key} + end + end + private def get_stash(action, filename) response = conn.get do |req| req.url endpoint(action)