Sha256: e96699f50a433632e39cb50c8030b022da732e6030cfe35496816d1b72388cef

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

require "smart_id/api/authentication/base"

module SmartId::Api
  module Authentication
    class Document < Base
      BASE_URI = "authentication/document"

      def initialize(**opts)
        @document_number = opts[:document_number]
        super(**opts)
      end

      private

      def api_uri
        "#{BASE_URI}/#{@document_number}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smart_id-0.1.0 lib/smart_id/api/authentication/document.rb