# app/avo/resources/post.rb
class Avo::Resources::Post < Avo::BaseResource
  self.discreet_information = {
    tooltip: -> { "Product is #{record.published_at ? "published" : "draft"}" },
    icon: "heroicons/outline/academic-cap",
    url: -> { main_app. },
    as: :badge
  }
end
```

</Option>

## Full configuration

```ruby