class SwaggerClient::EmailVerificationStatus

Constants

FAILED
NOT_STARTED
PENDING
VERIFIED

Public Instance Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# File lib/swagger_client/models/email_verification_status.rb, line 24
def build_from_hash(value)
  constantValues = EmailVerificationStatus.constants.select { |c| EmailVerificationStatus::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #EmailVerificationStatus" if constantValues.empty?
  value
end