Class: BioChEMBL::REST::Server
- Inherits:
-
Object
- Object
- BioChEMBL::REST::Server
- Defined in:
- lib/bio-chembl/rest_api_server.rb
Overview
serv = BioChEMBL::REST::Server.new
Instance Method Summary collapse
-
#comopunds_bioactivities(chemblId) ⇒ Object
/compounds/CHEMBL1/bioactivities.
-
#compounds(chemblId) ⇒ Object
/compounds/CHEMBL1.
-
#compounds_image(chemblId) ⇒ Object
/compounds/CHEMBL1/image.
-
#initialize ⇒ Server
constructor
A new instance of Server.
-
#query(action, args, options) ⇒ Object
serv.query(:status) serv.query(:compounds, ‘CHEML1’).
Constructor Details
#initialize ⇒ Server
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, ) end |