Sha256: fc15775a49c9914001facdd3f547369ea052db4cdc46ad8855a8d4263f9d3881

Contents?: true

Size: 900 Bytes

Versions: 1

Compression:

Stored size: 900 Bytes

Contents

module Checkr
  class MotorVehicleReport < APIResource

    attribute :status
    attribute :result
    attribute :cancellation_reason
    attribute :cancellation_reason_description
    attribute :completed_at
    attribute :turnaround_time
    attribute :full_name
    attribute :license_number
    attribute :license_state
    attribute :previous_license_number
    attribute :previous_license_state
    attribute :license_status
    attribute :license_type
    attribute :license_class
    attribute :expiration_date
    attribute :issued_date
    attribute :first_issued_date
    attribute :inferred_issued_date
    attribute :restrictions
    attribute :accidents
    attribute :violations

    api_class_method :retrieve, :get, ":path/:id", :arguments => [:id]

    def self.path
      "/v1/motor_vehicle_reports"
    end

    APIClass.register_subclass(self, "motor_vehicle_report")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
checkr-official-1.8.0 lib/checkr/motor_vehicle_report.rb