Allow photo posts

This commit is contained in:
2023-01-31 19:58:29 +11:00
parent ccd778ecbb
commit 8cbcd08411
8 changed files with 22 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ module Adamantium
attribute :published_at, Types::Nominal::DateTime.optional
attribute :post_type, Types::Coercible::String
attribute :syndicate_to, Types::Array.of(Types::Coercible::String)
attribute :photos, Types::Array.of(Types::Hash)
end
end
end

View File

@@ -10,6 +10,7 @@ module Adamantium
attribute :published_at, Types::Nominal::DateTime.optional
attribute :post_type, Types::Coercible::String
attribute :syndicate_to, Types::Array.of(Types::Coercible::String)
attribute :photos, Types::Array.of(Types::Hash)
end
end
end