Class: Onfido::Resource
- Inherits:
-
Object
- Object
- Onfido::Resource
- Defined in:
- lib/onfido/resource.rb
Overview
rubocop:todo Metrics/ClassLength
Direct Known Subclasses
Address, Applicant, Check, Document, Extraction, LivePhoto, LiveVideo, Report, SdkToken, Webhook
Constant Summary collapse
- VALID_HTTP_METHODS =
%i[get post put delete].freeze
- REQUEST_TIMEOUT_HTTP_CODE =
408
Instance Method Summary collapse
-
#initialize(options) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(options) ⇒ Resource
Returns a new instance of Resource.
8 9 10 |
# File 'lib/onfido/resource.rb', line 8 def initialize() @rest_client = .rest_client end |