Sha256: de4ca5c27668b690f5f3e543ea7bc38bee33fdb040e0f20effed2561460ace7d

Contents?: true

Size: 441 Bytes

Versions: 4

Compression:

Stored size: 441 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]
        define_property :distance, as: "distance", types: [
          "OpenActive::Models::Schema::Distance",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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