Sha256: 0de1ea6f5fb1658aa176cb3a0836262f3863396ce2eb3b3a8c992ded4e3e7138

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 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]
        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/transfer_action.rb
openactive-0.1.1 lib/openactive/models/schema/transfer_action.rb
openactive-0.1.0 lib/openactive/models/schema/transfer_action.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/transfer_action.rb