Class: Onfido::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/onfido/resource.rb

Overview

rubocop:todo Metrics/ClassLength

Constant Summary collapse

VALID_HTTP_METHODS =
%i[get post put delete].freeze
REQUEST_TIMEOUT_HTTP_CODE =
408

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Resource

Returns a new instance of Resource.



8
9
10
# File 'lib/onfido/resource.rb', line 8

def initialize(options)
  @rest_client = options.rest_client
end