Sha256: 71204890ae2546507fdb8472aa442f256699decaa2f74b53ac45f166dbed2c97

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

require 'learn_web/client/environment/setup_list'

module LearnWeb
  class Client
    module Environment
      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

        LearnWeb::Client::Environment::SetupList.new(response)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
learn-web-1.0.5 lib/learn_web/client/environment.rb