Sha256: 166f32c64718609912f05076acd780e0b0c9bfa88486f8028a1ee569724bd49b
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 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.5.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.0.0 =end require 'date' require 'time' module Plaid class CountryCode US = "US".freeze GB = "GB".freeze ES = "ES".freeze NL = "NL".freeze FR = "FR".freeze IE = "IE".freeze CA = "CA".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 = CountryCode.constants.select { |c| CountryCode::const_get(c) == value } raise "Invalid ENUM value #{value} for class #CountryCode" if constantValues.empty? value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
plaid-14.0.0.beta.1 | lib/plaid/models/country_code.rb |