Class: RubyIsds::WebServices::DbSearch::IsdsSearch2

Inherits:
Request show all
Defined in:
lib/ruby_isds/web_services/db_search/isds_search_2.rb

Constant Summary collapse

ATTRS =
%i[searchText searchType searchScope page pageSize
highlighting].freeze

Instance Method Summary collapse

Methods inherited from Request

#api_url, #response_wrapper, #xml_url

Methods inherited from Request

#api_url, call, #call, #call_reponse_wrapper, #default_headers, #envelope_namespaces, #full_url, #initialize, #response_wrapper, #to_xml, #values, #xml_url

Constructor Details

This class inherits a constructor from RubyIsds::Request

Instance Method Details

#body(xml) ⇒ Object



10
11
12
13
14
# File 'lib/ruby_isds/web_services/db_search/isds_search_2.rb', line 10

def body(xml)
  xml[:v20].ISDSSearch2 do
    values(xml)
  end
end