Class: BioChEMBL::REST::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/bio-chembl/rest_api_server.rb

Overview

serv = BioChEMBL::REST::Server.new

Instance Method Summary collapse

Constructor Details

#initializeServer

Returns a new instance of Server.



11
12
13
# File 'lib/bio-chembl/rest_api_server.rb', line 11

def initialize
  
end

Instance Method Details

#comopunds_bioactivities(chemblId) ⇒ Object

/compounds/CHEMBL1/bioactivities



27
28
# File 'lib/bio-chembl/rest_api_server.rb', line 27

def comopunds_bioactivities(chemblId)
end

#compounds(chemblId) ⇒ Object

/compounds/CHEMBL1



21
22
# File 'lib/bio-chembl/rest_api_server.rb', line 21

def compounds(chemblId)
end

#compounds_image(chemblId) ⇒ Object

/compounds/CHEMBL1/image



24
25
# File 'lib/bio-chembl/rest_api_server.rb', line 24

def compounds_image(chemblId)
end

#query(action, args, options) ⇒ Object

serv.query(:status) serv.query(:compounds, ‘CHEML1’)



17
18
# File 'lib/bio-chembl/rest_api_server.rb', line 17

def query(action, args, options)
end