Sha256: 700c895fd03a3eaa3e63c9b27fba1c8c18b4bc3ea797d7249d1bd5f3ff67e675

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

module AidsInfo
  class Client
    module Request
      def get(path)
        request(:get, path)
      end

      private

      def request(method, path)
        response = connection.send(method) do |request|
          request.url(path)
        end
        response.body
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aids_info-1.0.0 lib/aids_info/client/request.rb