Sha256: 5bade444570343daa13ef63d54bb2788e8c7a41fe15ce7b987147eb34e127e5b

Contents?: true

Size: 656 Bytes

Versions: 3

Compression:

Stored size: 656 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class SpeakableSpecification < ::OpenActive::Models::Schema::Intangible
        # @!attribute type
        # @return [String]
        def type
          "schema:SpeakableSpecification"
        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/speakable_specification.rb
openactive-0.4.0 lib/openactive/models/schema/speakable_specification.rb
openactive-0.3.0 lib/openactive/models/schema/speakable_specification.rb