Sha256: 2b7ef13f018bf74cc7c67fbc3152a11f97ad192be944b0bfb7ab3cd104fa1f25

Contents?: true

Size: 613 Bytes

Versions: 4

Compression:

Stored size: 613 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]
        define_property :from_location, as: "fromLocation", types: [
          "OpenActive::Models::Schema::Place",
        ]

        # @return [OpenActive::Models::Schema::Place]
        define_property :to_location, as: "toLocation", types: [
          "OpenActive::Models::Schema::Place",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/move_action.rb
openactive-0.1.1 lib/openactive/models/schema/move_action.rb
openactive-0.1.0 lib/openactive/models/schema/move_action.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/move_action.rb