Class: Onfido::API
- Inherits:
-
Object
- Object
- Onfido::API
- Defined in:
- lib/onfido/api.rb
Instance Method Summary collapse
- #address ⇒ Object
- #applicant ⇒ Object
- #check ⇒ Object
- #document ⇒ Object
- #extraction ⇒ Object
-
#initialize(api_key:, region:, **extra_options) ⇒ API
constructor
A new instance of API.
- #live_photo ⇒ Object
- #live_video ⇒ Object
- #monitor ⇒ Object
- #motion_capture ⇒ Object
- #report ⇒ Object
- #sdk_token ⇒ Object
- #webhook ⇒ Object
- #workflow_run ⇒ Object
Constructor Details
Instance Method Details
#address ⇒ Object
49 50 51 |
# File 'lib/onfido/api.rb', line 49 def address @address ||= Onfido::Address.new() end |
#applicant ⇒ Object
9 10 11 |
# File 'lib/onfido/api.rb', line 9 def applicant @applicant ||= Onfido::Applicant.new() end |
#check ⇒ Object
13 14 15 |
# File 'lib/onfido/api.rb', line 13 def check @check ||= Onfido::Check.new() end |
#document ⇒ Object
17 18 19 |
# File 'lib/onfido/api.rb', line 17 def document @document ||= Onfido::Document.new() end |
#extraction ⇒ Object
53 54 55 |
# File 'lib/onfido/api.rb', line 53 def extraction @extraction ||= Onfido::Extraction.new() end |
#live_photo ⇒ Object
21 22 23 |
# File 'lib/onfido/api.rb', line 21 def live_photo @live_photo ||= Onfido::LivePhoto.new() end |
#live_video ⇒ Object
25 26 27 |
# File 'lib/onfido/api.rb', line 25 def live_video @live_video ||= Onfido::LiveVideo.new() end |
#monitor ⇒ Object
29 30 31 |
# File 'lib/onfido/api.rb', line 29 def monitor @monitor ||= Onfido::Monitor.new() end |
#motion_capture ⇒ Object
33 34 35 |
# File 'lib/onfido/api.rb', line 33 def motion_capture @motion_capture ||= Onfido::MotionCapture.new() end |
#report ⇒ Object
37 38 39 |
# File 'lib/onfido/api.rb', line 37 def report @report ||= Onfido::Report.new() end |
#sdk_token ⇒ Object
41 42 43 |
# File 'lib/onfido/api.rb', line 41 def sdk_token @sdk_token ||= Onfido::SdkToken.new() end |
#webhook ⇒ Object
45 46 47 |
# File 'lib/onfido/api.rb', line 45 def webhook @webhook ||= Onfido::Webhook.new() end |
#workflow_run ⇒ Object
57 58 59 |
# File 'lib/onfido/api.rb', line 57 def workflow_run @workflow_run ||= Onfido::WorkflowRun.new() end |