Sha256: d22fb6922de0211c3589d3292cc5e92643350e8769f7366ca3a9448813fe701c

Contents?: true

Size: 876 Bytes

Versions: 1

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 :print_column, as: "printColumn", 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 :dateline, as: "dateline", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/news_article.rb