Module: Cheminee

Defined in:
lib/cheminee/version.rb,
lib/cheminee.rb,
lib/cheminee/api_error.rb,
lib/cheminee/api_client.rb,
lib/cheminee/models/smile.rb,
lib/cheminee/configuration.rb,
lib/cheminee/models/schema.rb,
lib/cheminee/models/smiles.rb,
lib/cheminee/api/default_api.rb,
lib/cheminee/models/mol_block.rb,
lib/cheminee/models/index_meta.rb,
lib/cheminee/models/bulk_request.rb,
lib/cheminee/models/index_schema.rb,
lib/cheminee/models/bulk_request_doc.rb,
lib/cheminee/models/converted_smiles.rb,
lib/cheminee/models/query_search_hit.rb,
lib/cheminee/models/create_index_error.rb,
lib/cheminee/models/standardized_smile.rb,
lib/cheminee/models/standardized_smiles.rb,
lib/cheminee/models/query_response_error.rb,
lib/cheminee/models/structure_search_hit.rb,
lib/cheminee/models/list_index_response_err.rb,
lib/cheminee/models/substructure_search_hit.rb,
lib/cheminee/models/structure_response_error.rb,
lib/cheminee/models/get_indexes_response_error.rb,
lib/cheminee/models/post_index_bulk_response_ok.rb,
lib/cheminee/models/post_index_bulk_response_error.rb,
lib/cheminee/models/post_index_bulk_response_ok_status.rb

Overview

#Cheminée

#Cheminée: The Chemical Structure Search Engine

The version of the OpenAPI document: 1.0

Generated by: openapi-generator.tech Generator version: 7.5.0-SNAPSHOT

Defined Under Namespace

Classes: ApiClient, ApiError, BulkRequest, BulkRequestDoc, Configuration, ConvertedSmiles, CreateIndexError, DefaultApi, GetIndexesResponseError, IndexMeta, IndexSchema, ListIndexResponseErr, MolBlock, PostIndexBulkResponseError, PostIndexBulkResponseOk, PostIndexBulkResponseOkStatus, QueryResponseError, QuerySearchHit, Schema, Smile, Smiles, StandardizedSmile, StandardizedSmiles, StructureResponseError, StructureSearchHit, SubstructureSearchHit

Constant Summary collapse

VERSION =
'0.1.19'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Cheminee.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



51
52
53
54
55
56
57
# File 'lib/cheminee.rb', line 51

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end