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

Version Path
eligible-3.0.0.beta28 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta27 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta26 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta25 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta24 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta23 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta22 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta20 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta19 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta18 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta17 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta16 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta15 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta14 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta13 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta12 lib/eligible/v1_0/enrollment.rb
eligible-3.0.0.beta11 lib/eligible/v1_0/enrollment.rb