class GdsApi::LinkCheckerApi

def get_batch(id)

Raises:
  • (HTTPErrorResponse) - if the request returns an error

Returns:
  • (BatchReport) - A +SimpleDelegator+ of the +GdsApi::Response+ which

Parameters:
  • id (Fixnum) -- The batch ID to get information about.
def get_batch(id)
  BatchReport.new(
    get_json(
      "#{endpoint}/batch/#{id}"
    ).to_hash
  )
end