Sha256: 7c88f97dc13a050fb249bd0426576163f0387c4ea6402a880e671894ddd7473a

Contents?: true

Size: 773 Bytes

Versions: 3

Compression:

Stored size: 773 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class Blog < ::OpenActive::Models::Schema::CreativeWork
        # @!attribute type
        # @return [String]
        def type
          "schema:Blog"
        end

        # @return [String]
        define_property :issn, as: "issn", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::BlogPosting,URI]
        define_property :blog_posts, as: "blogPosts", types: [
          "OpenActive::Models::Schema::BlogPosting",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::BlogPosting,URI]
        define_property :blog_post, as: "blogPost", types: [
          "OpenActive::Models::Schema::BlogPosting",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/blog.rb
openactive-0.2.1 lib/openactive/models/schema/blog.rb
openactive-0.2.0 lib/openactive/models/schema/blog.rb