Sha256: c06f7cad57e014a7a26690f58a6ea3e3d6759349637867c5501687c24ff79e73

Contents?: true

Size: 655 Bytes

Versions: 4

Compression:

Stored size: 655 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Place,URI]
        define_property :from_location, as: "fromLocation", types: [
          "OpenActive::Models::Schema::Place",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Place,URI]
        define_property :to_location, as: "toLocation", types: [
          "OpenActive::Models::Schema::Place",
          "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/move_action.rb
openactive-0.2.2 lib/openactive/models/schema/move_action.rb
openactive-0.2.1 lib/openactive/models/schema/move_action.rb
openactive-0.2.0 lib/openactive/models/schema/move_action.rb