Module: OpenBEL::Nanopub::API
- Included in:
- Nanopub
- Defined in:
- lib/openbel/api/nanopub/api.rb
Instance Method Summary collapse
- #count_nanopub(filters = []) ⇒ Object
-
#create_nanopub(nanopub) ⇒ Object
single or array.
- #delete_nanopub_by_id(id) ⇒ Object
- #delete_nanopub_by_query(query) ⇒ Object
- #find_all_annotation_references ⇒ Object
- #find_all_namespace_references ⇒ Object
- #find_nanopub(filters = [], offset = 0, length = 0, facet = false) ⇒ Object
- #find_nanopub_by_id(id) ⇒ Object
- #update_nanopub_by_id(id, nanopub_update) ⇒ Object
- #update_nanopub_by_query(query, nanopub_update) ⇒ Object
Instance Method Details
#count_nanopub(filters = []) ⇒ Object
26 27 28 |
# File 'lib/openbel/api/nanopub/api.rb', line 26 def count_nanopub(filters = []) fail NotImplementedError, "#{__method__} is not implemented" end |
#create_nanopub(nanopub) ⇒ Object
single or array
6 7 8 |
# File 'lib/openbel/api/nanopub/api.rb', line 6 def create_nanopub(nanopub) fail NotImplementedError, "#{__method__} is not implemented" end |
#delete_nanopub_by_id(id) ⇒ Object
38 39 40 |
# File 'lib/openbel/api/nanopub/api.rb', line 38 def delete_nanopub_by_id(id) fail NotImplementedError, "#{__method__} is not implemented" end |
#delete_nanopub_by_query(query) ⇒ Object
42 43 44 |
# File 'lib/openbel/api/nanopub/api.rb', line 42 def delete_nanopub_by_query(query) fail NotImplementedError, "#{__method__} is not implemented" end |
#find_all_annotation_references ⇒ Object
22 23 24 |
# File 'lib/openbel/api/nanopub/api.rb', line 22 def find_all_annotation_references fail NotImplementedError, "#{__method__} is not implemented" end |
#find_all_namespace_references ⇒ Object
18 19 20 |
# File 'lib/openbel/api/nanopub/api.rb', line 18 def find_all_namespace_references fail NotImplementedError, "#{__method__} is not implemented" end |
#find_nanopub(filters = [], offset = 0, length = 0, facet = false) ⇒ Object
14 15 16 |
# File 'lib/openbel/api/nanopub/api.rb', line 14 def find_nanopub(filters = [], offset = 0, length = 0, facet = false) fail NotImplementedError, "#{__method__} is not implemented" end |
#find_nanopub_by_id(id) ⇒ Object
10 11 12 |
# File 'lib/openbel/api/nanopub/api.rb', line 10 def find_nanopub_by_id(id) fail NotImplementedError, "#{__method__} is not implemented" end |
#update_nanopub_by_id(id, nanopub_update) ⇒ Object
30 31 32 |
# File 'lib/openbel/api/nanopub/api.rb', line 30 def update_nanopub_by_id(id, nanopub_update) fail NotImplementedError, "#{__method__} is not implemented" end |
#update_nanopub_by_query(query, nanopub_update) ⇒ Object
34 35 36 |
# File 'lib/openbel/api/nanopub/api.rb', line 34 def update_nanopub_by_query(query, nanopub_update) fail NotImplementedError, "#{__method__} is not implemented" end |