Method: Bio::KEGG::API#initialize
- Defined in:
- lib/bio/io/keggapi.rb
#initialize(wsdl = nil) ⇒ API
Connect to the KEGG API’s SOAP server. A WSDL file will be automatically downloaded and parsed to generate the SOAP client driver. The default URL for the WSDL is soap.genome.jp/KEGG.wsdl but it can be changed by the argument or by wsdl= method.
196 197 198 199 200 201 202 |
# File 'lib/bio/io/keggapi.rb', line 196 def initialize(wsdl = nil) @wsdl = wsdl || SERVER_URI @log = nil @start = 1 @max_results = 100 create_driver end |