Sha256: 087bfd2cbe6f0760bfabcf3a76d8754fdfaeb0a8b2f45a6ef862f1ed2de4c933

Contents?: true

Size: 462 Bytes

Versions: 6

Compression:

Stored size: 462 Bytes

Contents

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/travel_action.rb
openactive-0.4.0 lib/openactive/models/schema/travel_action.rb
openactive-0.3.0 lib/openactive/models/schema/travel_action.rb
openactive-0.2.2 lib/openactive/models/schema/travel_action.rb
openactive-0.2.1 lib/openactive/models/schema/travel_action.rb
openactive-0.2.0 lib/openactive/models/schema/travel_action.rb