Sha256: 1d427331670636179af915d72ad3b831415c8f977c2009802b98ca1133c8ddc4

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

# frozen_string_literal: true

##
# From what I can quickly find I can only search by ICO
# at least for the time being...
#
module Ares
  module Client
    class Basic < Base
      ENDPOINT = 'https://wwwinfo.mfcr.cz/cgi-bin/ares/darv_bas.cgi'

      def call(opts)
        xml = get(self.class::ENDPOINT, opts.merge!(ver: '1.0.2'))
        process_response(xml)
      end

      private

      def process_response(document)
        Ares::Responses::Basic.new(document)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ares.rb-0.4.0 lib/ares/client/basic.rb