Sha256: 5d24000e63f61aef24bed2012729531b272e226b1bcb1a418373fb396612a3e0

Contents?: true

Size: 773 Bytes

Versions: 2

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 [OpenActive::Models::Schema::BlogPosting,URI]
        define_property :blog_post, as: "blogPost", types: [
          "OpenActive::Models::Schema::BlogPosting",
          "URI",
        ]

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/blog.rb
openactive-0.4.0 lib/openactive/models/schema/blog.rb