Module: FoldingAtHomeClient::GPUs

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

def self.all
  endpoint = '/gpus'

  request_and_instantiate_objects(endpoint:, object_class: GPU)
end