Sha256: 6de290127e3033f9dc835a646c47d349cb9dbe8490e7a20c5aa19764e264129e
Contents?: true
Size: 477 Bytes
Versions: 17
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true module Eligible module V1_0 class Enrollment < RestAPIBase ENDPOINT_NAME = 'enrollments'.freeze def self.summary(params, opts = {}) send_request :get, "/#{endpoint_name}/summary", rest_api_params(params), opts end def self.escalate(id, opts = {}) send_request :post, "/#{endpoint_name}/#{object_id(id)}/escalate", rest_api_params(id), opts.merge(required_params: [:id]) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems