lib/purecloud/models/participant.rb in purecloud-0.58.1 vs lib/purecloud/models/participant.rb in purecloud-0.59.1
- old
+ new
@@ -406,10 +406,10 @@
end
# Custom attribute writer method checking allowed values (enum).
def wrapup_prompt=(wrapup_prompt)
- allowed_values = ["MANDATORY", "OPTIONAL", "TIMEOUT", "FORCED_TIMEOUT"]
+ allowed_values = ["mandatory", "optional", "timeout", "forcedTimeout"]
if wrapup_prompt && !allowed_values.include?(wrapup_prompt)
fail "invalid value for 'wrapup_prompt', must be one of #{allowed_values}"
end
@wrapup_prompt = wrapup_prompt
end