class asposeemailcloud::SecurityOptions
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 src/asposeemailcloud/models/security_options.rb, line 26 def build_from_hash(value) consantValues = SecurityOptions.constants.select{|c| c.to_s == value} raise "Invalid ENUM value #{value} for class #SecurityOptions" if consantValues.empty? value end