Sha256: 95911f0803da7b52cce5744115f50ef11cab8a6ecc10436d236dcf0652433e5f

Contents?: true

Size: 876 Bytes

Versions: 4

Compression:

Stored size: 876 Bytes

Contents

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

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

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

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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