Sha256: c49ef9a62841269eacd93b4ab4924a309b99cd76c32b9ee76ba5a6dbaddf44a8

Contents?: true

Size: 876 Bytes

Versions: 3

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 :print_section, as: "printSection", types: [
          "string",
        ]

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

        # @return [String]
        define_property :dateline, as: "dateline", 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

3 entries across 3 versions & 1 rubygems

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