Use param type for cache field

This commit is contained in:
2023-07-29 18:15:08 +10:00
parent 5d93de9671
commit ac3e9fb795

View File

@@ -4,7 +4,7 @@ module Adamantium
attribute :h, Types::Coercible::String
attribute :action, Types::Coercible::String.optional
attribute :name, Types::Coercible::String
attribute :cache, Types::Bool.optional
attribute :cache, Types::Params::Bool.optional
attribute :content, Types::Coercible::String.optional
attribute :url, Types::Coercible::String
attribute :slug, Types::Coercible::String