Sha256: d8048e56a307923c2be5d4709b6ed3360ca49bd7c95584e9d8fdfd6df94ecbc9

Contents?: true

Size: 663 Bytes

Versions: 4

Compression:

Stored size: 663 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class TransferAction < ::OpenActive::Models::Schema::Action
        # @!attribute type
        # @return [String]
        def type
          "schema:TransferAction"
        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/transfer_action.rb
openactive-0.2.2 lib/openactive/models/schema/transfer_action.rb
openactive-0.2.1 lib/openactive/models/schema/transfer_action.rb
openactive-0.2.0 lib/openactive/models/schema/transfer_action.rb