lib/purecloud/models/did.rb in purecloud-0.28.0 vs lib/purecloud/models/did.rb in purecloud-0.29.1
- old
+ new
@@ -174,10 +174,10 @@
end
# Custom attribute writer method checking allowed values (enum).
def state=(state)
- allowed_values = ["ACTIVE", "DELETED", "INACTIVE"]
+ allowed_values = ["ACTIVE", "INACTIVE", "DELETED"]
if state && !allowed_values.include?(state)
fail "invalid value for 'state', must be one of #{allowed_values}"
end
@state = state
end