Sha256: 72e8bdd071ebfa53d7663c831d8681f2dc5a704bd2aca541d0b04f878118d861

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

=begin
#The Plaid API

#The Plaid REST API. Please see https://plaid.com/docs/api for more details.

The version of the OpenAPI document: 2020-09-14_1.16.6

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.1.0

=end

require 'date'
require 'time'

module Plaid
  class VerificationStatus
    VERIFIED = "VERIFIED".freeze
    UNVERIFIED = "UNVERIFIED".freeze
    NEEDS_INFO = "NEEDS_INFO".freeze
    UNABLE_TO_VERIFY = "UNABLE_TO_VERIFY".freeze
    UNKNOWN = "UNKNOWN".freeze

    # 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)
      constantValues = VerificationStatus.constants.select { |c| VerificationStatus::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #VerificationStatus" if constantValues.empty?
      value
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plaid-14.0.0.beta.5.pre.plural.pre.income.pre.breakdown lib/plaid/models/verification_status.rb
plaid-14.0.0.beta.5 lib/plaid/models/verification_status.rb