Sha256: f7a2c8ecc562e5e0f08debbd7c2d1590e066122d93d96f41c96eee3e4c0f6f4f
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 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.8.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.0.0 =end require 'date' require 'time' module Plaid class ACHClass ARC = "arc".freeze CBR = "cbr".freeze CCD = "ccd".freeze CIE = "cie".freeze COR = "cor".freeze CTX = "ctx".freeze IAT = "iat".freeze MTE = "mte".freeze PBR = "pbr".freeze POP = "pop".freeze POS = "pos".freeze PPD = "ppd".freeze RCK = "rck".freeze TEL = "tel".freeze WEB = "web".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 = ACHClass.constants.select { |c| ACHClass::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ACHClass" if constantValues.empty? value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
plaid-14.0.0.beta.3 | lib/plaid/models/ach_class.rb |