Sha256: 6ff39f99953bad300e89b40b43254274ce51338d218f64bb157494172ccb13c5

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 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.20.6

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

=end

require 'date'
require 'time'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plaid-14.0.0 lib/plaid/models/account_selection_cardinality.rb