Module: Sylfy::Service::ENSEMBLREST::REST::Archive

Defined in:
lib/sylfy/service/ensemblrest/archive.rb

Constant Summary collapse

SERVICENAME =
'archive'

Class Method Summary collapse

Class Method Details

.id(id, option = {}) ⇒ array of Hash

Uses the given identifier to return the archived sequence

Parameters:

Returns:

  • (array of Hash)

    results



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