lib/learn_web/client/environment.rb in learn-web-1.0.5 vs lib/learn_web/client/environment.rb in learn-web-1.1.0
- old
+ new
@@ -6,12 +6,10 @@
def environment_setup_list_endpoint
"#{API_ROOT}/environmentalizer/steps"
end
def environment_setup_list
- response = @conn.get do |req|
- req.url environment_setup_list_endpoint
- end
+ response = get(environment_setup_list_endpoint)
LearnWeb::Client::Environment::SetupList.new(response)
end
end
end