Sha256: 685cdcf4e1f4ac960baa3c0338715576f7f0b0e8025968607097e803af4f835c

Contents?: true

Size: 642 Bytes

Versions: 3

Compression:

Stored size: 642 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::CssSelectorType]
        define_property :css_selector, as: "cssSelector", types: [
          "OpenActive::Models::Schema::CssSelectorType",
        ]

        # @return [OpenActive::Models::Schema::XPathType]
        define_property :xpath, as: "xpath", types: [
          "OpenActive::Models::Schema::XPathType",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/web_page_element.rb
openactive-0.4.0 lib/openactive/models/schema/web_page_element.rb
openactive-0.3.0 lib/openactive/models/schema/web_page_element.rb