Sha256: 64ab890bb5f3cedad494efcc0f07f5b0f5d10d074bc9e074bbb46b607a528f58
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
require 'config_newton' require 'savon' require "nne_client/version" require "nne_client/result_attributes" require "nne_client/fetch" require "nne_client/request" require "nne_client/search" require "nne_client/query" require "nne_client/question" require "nne_client/result" require "nne_client/result_set" require "nne_client/record_types/finance" require "nne_client/record_types/ownership" require "nne_client/record_types/subsidiary" require "nne_client/record_types/trade" HTTPI.adapter = :net_http # Namespace for the library module NNEClient extend self include ConfigNewton class CompanyMissing < RuntimeError; end config :access_key # Where users start the interaction with the library. # # The query is hash with one or more of these keys: # # * :houseNo (string) # * :name (string) # * :nameStartsWith (boolean) # * :street (string) # * :zipCode (number) # * :tdcId (number) # # @return [ResultSet] containing the results from the SOAP API def search(query) NNEClient::Search.new(query).result_set end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nne_client-0.0.1 | lib/nne_client.rb |