lib/purecloud/models/group.rb in purecloud-0.37.1 vs lib/purecloud/models/group.rb in purecloud-0.38.1
- old
+ new
@@ -182,10 +182,10 @@
@state = state
end
# Custom attribute writer method checking allowed values (enum).
def type=(type)
- allowed_values = ["official", "social"]
+ allowed_values = ["social", "official"]
if type && !allowed_values.include?(type)
fail "invalid value for 'type', must be one of #{allowed_values}"
end
@type = type
end