Sha256: c99e777c83d2f44b28424d26b56e8cad33f605b634026498610523603190f15f
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
module OpenActive module Models module Schema class Book < ::OpenActive::Models::Schema::CreativeWork # @!attribute type # @return [String] def type "schema:Book" end # @return [int,nil] define_property :number_of_pages, as: "numberOfPages", types: [ "int", "null", ] # @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 [Boolean,nil] define_property :abridged, as: "abridged", types: [ "bool", "null", ] # @return [String] define_property :isbn, as: "isbn", types: [ "string", ] # @return [OpenActive::Models::Schema::Person,URI] define_property :illustrator, as: "illustrator", types: [ "OpenActive::Models::Schema::Person", "URI", ] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.5.0 | lib/openactive/models/schema/book.rb |
openactive-0.4.0 | lib/openactive/models/schema/book.rb |