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