lib/openactive/models/schema/book.rb in openactive-0.1.2 vs lib/openactive/models/schema/book.rb in openactive-0.2.0
- old
+ new
@@ -12,23 +12,30 @@
define_property :number_of_pages, as: "numberOfPages", types: [
"int",
"null",
]
- # @return [OpenActive::Models::Schema::Person]
- define_property :illustrator, as: "illustrator", types: [
- "OpenActive::Models::Schema::Person",
+ # @return [String]
+ define_property :book_edition, as: "bookEdition", types: [
+ "string",
]
# @return [OpenActive::Enums::Schema::BookFormatType,nil]
define_property :book_format, as: "bookFormat", types: [
"OpenActive::Enums::Schema::BookFormatType",
"null",
]
- # @return [String]
- define_property :book_edition, as: "bookEdition", types: [
- "string",
+ # @return [Boolean,nil]
+ define_property :abridged, as: "abridged", types: [
+ "bool",
+ "null",
+ ]
+
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :illustrator, as: "illustrator", types: [
+ "OpenActive::Models::Schema::Person",
+ "URI",
]
# @return [String]
define_property :isbn, as: "isbn", types: [
"string",