(Hash) Default parameters for Entrez (eUtils). They may also be used for other NCBI services.
Gets default email address for Entrez (eUtils).
Returns |
String or nil |
# File lib/bio/io/ncbirest.rb, line 42 def self.default_email ENTREZ_DEFAULT_PARAMETERS['email'] end
Gets default tool name for Entrez (eUtils).
Returns |
String or nil |
# File lib/bio/io/ncbirest.rb, line 59 def self.default_tool ENTREZ_DEFAULT_PARAMETERS['tool'] end
Resets Entrez (eUtils) default parameters.
Returns |
(Hash) default parameters |
# File lib/bio/io/ncbirest.rb, line 30 def self.reset_entrez_default_parameters h = { 'tool' => "#{$0} (bioruby/#{Bio::BIORUBY_VERSION_ID})", 'email' => nil, } ENTREZ_DEFAULT_PARAMETERS.clear ENTREZ_DEFAULT_PARAMETERS.update(h) end
Generated with the Darkfish Rdoc Generator 2.