Module: Sylfy::Service::ENSEMBLREST::REST::Archive
- Defined in:
- lib/sylfy/service/ensemblrest/archive.rb
Constant Summary collapse
- SERVICENAME =
'archive'
Class Method Summary collapse
-
.id(id, option = {}) ⇒ array of Hash
Uses the given identifier to return the archived sequence.
Class Method Details
.id(id, option = {}) ⇒ array of Hash
Uses the given identifier to return the archived sequence
25 26 27 28 29 |
# File 'lib/sylfy/service/ensemblrest/archive.rb', line 25 def id(id, option = {}) option_type = [:callback] get_path = "/#{SERVICENAME}/id/#{id}" return Sylfy::Service::ENSEMBLREST::service(get_path, option_type, option) end |