module LearnWeb::Client::Environment
Public Instance Methods
environment_setup_list()
click to toggle source
# File lib/learn_web/client/environment.rb, line 15 def environment_setup_list response = get(environment_setup_list_endpoint) LearnWeb::Client::Environment::SetupList.new(response) end
environment_setup_list_endpoint()
click to toggle source
# File lib/learn_web/client/environment.rb, line 7 def environment_setup_list_endpoint "#{API_ROOT}/environmentalizer/steps" end
verification_endpoint()
click to toggle source
# File lib/learn_web/client/environment.rb, line 11 def verification_endpoint "#{API_ROOT}/gem_verifications" end
verify_environment()
click to toggle source
# File lib/learn_web/client/environment.rb, line 21 def verify_environment response = post( verification_endpoint, headers: { 'Authorization' => "Bearer #{token}" } ) LearnWeb::Client::Environment::Verification.new(response) end