Sha256: ae7c985e6506edf0c813f7e0f6d456ff01e401d1ee539ab2c957da18d33d9506

Contents?: true

Size: 876 Bytes

Versions: 2

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

        # @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_column, as: "printColumn", 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/news_article.rb
openactive-0.4.0 lib/openactive/models/schema/news_article.rb