Class: Crowdkit::Client::Judgments

Inherits:
API
  • Object
show all
Defined in:
lib/crowdkit/client/judgments.rb

Instance Attribute Summary

Attributes inherited from API

#auto_pagination, #client, #config, #stored_params

Instance Method Summary collapse

Methods inherited from API

#arguments, extract_class_name, #id_key, #initialize, namespace, #set, #with

Methods included from API::RequestMethods

#agent, #method

Constructor Details

This class inherits a constructor from Crowdkit::API

Instance Method Details

#get(*args) ⇒ Object Also known as: find



3
4
5
6
# File 'lib/crowdkit/client/judgments.rb', line 3

def get(*args)
  arguments(args, required: [:judgment_id])
  do_get("judgments/#{judgment_id}")
end