Sha256: fee45397eb650c8ce7e0790e77df38efb1e10e71194281b6c1fd14d596a588ee

Contents?: true

Size: 1004 Bytes

Versions: 4

Compression:

Stored size: 1004 Bytes

Contents

=begin
#Dropbox Sign API

#Dropbox Sign v3 API

The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
Generator version: 7.8.0

=end

require 'date'
require 'time'

module Dropbox
end

module Dropbox::Sign
  class FaxLineAreaCodeGetCountryEnum
    CA = "CA".freeze
    US = "US".freeze
    UK = "UK".freeze

    def self.all_vars
      @all_vars ||= [CA, US, UK].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 FaxLineAreaCodeGetCountryEnum.all_vars.include?(value)
      raise "Invalid ENUM value #{value} for class #FaxLineAreaCodeGetCountryEnum"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dropbox-sign-1.8.0 lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb
dropbox-sign-1.7.0 lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb
dropbox-sign-1.6.1 lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb
dropbox-sign-1.6.0 lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb