Module: Primer::Audited::Dsl
- Extended by:
- ActiveSupport::Concern
- Included in:
- Component
- Defined in:
- app/lib/primer/audited/dsl.rb
Overview
DSL to register when a component has passed an accessibility audit.
Example:
class MyComponent < ViewComponent::Base
include Primer::Audited::Dsl
audited_at 'YYYY-MM-DD'
end