-
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.
Merge pull request #66 from onfido/release-upgrade
Refresh onfido-ruby after onfido-openapi-spec update (10f8380)
- Loading branch information
Showing
42 changed files
with
871 additions
and
416 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
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": "10f8380", | ||
"long_sha": "10f83806efa080edbf022ac48d5eeac90fbceb0c", | ||
"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.