Files
adamantium/app/entities/bookmark_request.rb
2023-01-27 22:55:09 +11:00

16 lines
588 B
Ruby

module Adamantium
module Entities
class BookmarkRequest < Dry::Struct
attribute :h, Types::Coercible::String
attribute :action, Types::Coercible::String.optional
attribute :name, Types::Coercible::String
attribute :content, Types::Coercible::String.optional
attribute :url, Types::Coercible::String
attribute :slug, Types::Coercible::String
attribute :category, Types::Array.of(Types::Coercible::String)
attribute :published_at, Types::Nominal::DateTime.optional
attribute :post_type, Types::Coercible::String
end
end
end