lib/onfido/resources/sdk_token.rb in onfido-1.1.1 vs lib/onfido/resources/sdk_token.rb in onfido-2.0.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Onfido
class SdkToken < Resource
def create(applicant_id:, **payload)
payload[:applicant_id] = applicant_id
post(path: 'sdk_token', payload: payload)