trusona/trusona-server-sdk-ruby

View on GitHub
lib/trusona/services/paired_tru_code_service.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module Trusona
  module Services
    ## Paired trucode service
    class PairedTruCodeService < BaseService
      def initialize(client: Trusona::Api::HTTPClient.new)
        super(client:, mapper: Trusona::Mappers::PairedTruCodeMapper.new)
        @resource_path = '/api/v2/paired_trucodes'
      end
    end
  end
end