Module: FoldingAtHomeClient::Projects

Extended by:
Request
Defined in:
lib/folding_at_home_client/projects.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/projects.rb', line 7

def self.all
  endpoint = '/project'

  request_and_instantiate_objects(endpoint:, object_class: Project)
end