Sha256: b80a6a65e689b8066f620d073cb5611201849fe498003968500e0592341f9876

Contents?: true

Size: 653 Bytes

Versions: 4

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 :replacee, as: "replacee", types: [
          "OpenActive::Models::Schema::Thing",
          "URI",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/replace_action.rb
openactive-0.2.2 lib/openactive/models/schema/replace_action.rb
openactive-0.2.1 lib/openactive/models/schema/replace_action.rb
openactive-0.2.0 lib/openactive/models/schema/replace_action.rb