checkr/checkr-ruby

View on GitHub
lib/checkr/employment_verification.rb

Summary

Maintainability
A
35 mins
Test Coverage
module Checkr
  class EmploymentVerification < APIResource

    attribute :status
    attribute :result
    attribute :cancellation_reason
    attribute :cancellation_reason_description
    attribute :includes_canceled
    attribute :completed_at
    attribute :turnaround_time
    attribute :records

    api_class_method :retrieve, :get, ':path/:id', arguments: [:id]

    def self.path
      '/v1/employment_verifications'
    end

    APIClass.register_subclass(self, 'employment_verification')

  end
end