Sha256: 2553d724a9248454464b62c530893407186b27537d650c2d8ed301f9bcd85603

Contents?: true

Size: 731 Bytes

Versions: 4

Compression:

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/blog.rb
openactive-0.1.1 lib/openactive/models/schema/blog.rb
openactive-0.1.0 lib/openactive/models/schema/blog.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/blog.rb