```ruby
class Api::StateSerializer < ActiveModel::Serializer
  attributes :id, :name, :abbr
end```

Make state abbreviations upper case
user
```ruby
class Api::StateSerializer < ActiveModel::Serializer
  attributes :id, :name, :abbr

  def abbr
    object.abbr.upcase
  end
end```
assistant