Module: FoldingAtHomeClient::Descriptions

Extended by:
Request
Defined in:
lib/folding_at_home_client/descriptions.rb

Constant Summary

Constants included from Request

Request::API_URL, Request::HEADERS

Class Method Summary collapse

Methods included from Request

connection, format_response, request, request_and_instantiate_objects, request_unencoded

Class Method Details

.allObject



7
8
9
10
11
# File 'lib/folding_at_home_client/descriptions.rb', line 7

def self.all
  endpoint = '/project/description'

  request_and_instantiate_objects(endpoint:, object_class: Description)
end