Sha256: 1fa902acc725bf0e9cc00ca2c4cdb42ceb814fbcd02c8080be2a761e5c464202

Contents?: true

Size: 653 Bytes

Versions: 2

Compression:

Stored size: 653 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Thing,URI]
        define_property :replacer, as: "replacer", types: [
          "OpenActive::Models::Schema::Thing",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Thing,URI]
        define_property :replacee, as: "replacee", types: [
          "OpenActive::Models::Schema::Thing",
          "URI",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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