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
- #report ⇒ Object
- #sdk_token ⇒ Object
- #webhook ⇒ Object
Constructor Details
Instance Method Details
#address ⇒ Object
41 42 43 |
# File 'lib/onfido/api.rb', line 41 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
45 46 47 |
# File 'lib/onfido/api.rb', line 45 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 |
#report ⇒ Object
29 30 31 |
# File 'lib/onfido/api.rb', line 29 def report @report ||= Onfido::Report.new() end |