Sha256: 80183cb97afbbdf4188879e16b9ce9cf5de1dca10b3f8737864cccb9f4327c9e

Contents?: true

Size: 193 Bytes

Versions: 3

Compression:

Stored size: 193 Bytes

Contents

module Onfido
  class SdkToken < Resource
    def create(applicant_id:, **payload)
      payload[:applicant_id] = applicant_id
      post(path: 'sdk_token', payload: payload)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
onfido-1.1.1 lib/onfido/resources/sdk_token.rb
onfido-1.1.0 lib/onfido/resources/sdk_token.rb
onfido-1.0.0 lib/onfido/resources/sdk_token.rb