Sha256: 0323965c289f8dc06069f61f29280d47fc1dec873308a6b0d6ea0c8ce4ec0636

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

# frozen_string_literal: true

module Ares
  module Client
    class Standard < Base
      ENDPOINT = 'http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_std.cgi'

      private

      # Search for standard entity's identification data
      #
      # @param [Hash] opts Options for searching as specified in http://wwwinfo.mfcr.cz/ares/ares_xml_standard.html.en
      # @option opts [String] :ico
      # @option opts [String] :obchodni_firma
      # @option opts [String] :nazev_obce
      # @option opts [String] :kod_pf
      # @option opts [String] :typ_registru
      # @option opts [Integer] :xml (0) Type of xml output.
      # @option opts [String] :jazyk ('cz') Text of html pages [cz, en]
      # @option opts [Integer] :max_pocet (10)
      # @option opts [Integer] :aktivni (0) [0, 1]
      # @option opts [Integer] :adr_puv [0, 1]
      # @option opts [String] :typ_vyhledani ('free') Selection priority [free, ico, of]
      # @option opts [Integer] :diakritika (1) [0, 1]
      # @option opts [String] :czk (iso) Encoding [iso, utf]
      # @returns [Ares::Responses::StandardResponse]
      def process_response(document)
        Ares::Responses::Standard.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/standard.rb