If a resource has only one state, the `states` section of a _resource_ must define `default` as the `state_name` property value. Alternately, a custom name can be used when the associated object defines a `state` instance method or attribute accessor that returns the custom name.