-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade after onfido-openapi-spec change 9c6f606
- Loading branch information
1 parent
d7ead84
commit a4085d3
Showing
32 changed files
with
810 additions
and
401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"source": { | ||
"repo_url": "https://github.com/onfido/onfido-openapi-spec", | ||
"short_sha": "08508b9", | ||
"long_sha": "08508b9517238b3becb4265130633a418a8ee319", | ||
"version": "v3.5.0" | ||
"short_sha": "9c6f606", | ||
"long_sha": "9c6f6060cac558bd51e5b07271b5c9d437a8b03a", | ||
"version": "" | ||
}, | ||
"release": "v3.4.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
=begin | ||
#Onfido API v3.6 | ||
#The Onfido API (v3.6) | ||
The version of the OpenAPI document: v3.6 | ||
Generated by: https://openapi-generator.tech | ||
Generator version: 7.6.0 | ||
=end | ||
|
||
require 'date' | ||
require 'time' | ||
|
||
module Onfido | ||
class ApplicantConsentName | ||
PRIVACY_NOTICES_READ = "privacy_notices_read".freeze | ||
SSN_VERIFICATION = "ssn_verification".freeze | ||
PHONE_NUMBER_VERIFICATION = "phone_number_verification".freeze | ||
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze | ||
|
||
def self.all_vars | ||
@all_vars ||= [PRIVACY_NOTICES_READ, SSN_VERIFICATION, PHONE_NUMBER_VERIFICATION, UNKNOWN_DEFAULT_OPEN_API].freeze | ||
end | ||
|
||
# Builds the enum from string | ||
# @param [String] The enum value in the form of the string | ||
# @return [String] The enum value | ||
def self.build_from_hash(value) | ||
new.build_from_hash(value) | ||
end | ||
|
||
# Builds the enum from string | ||
# @param [String] The enum value in the form of the string | ||
# @return [String] The enum value | ||
def build_from_hash(value) | ||
return value if ApplicantConsentName.all_vars.include?(value) | ||
raise "Invalid ENUM value #{value} for class #ApplicantConsentName" | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.