Sha256: f07478e55fada232ec77a35cc9cd6518883ebb8eb0a140077436be7d158585ff

Contents?: true

Size: 428 Bytes

Versions: 4

Compression:

Stored size: 428 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Person]
        define_property :loser, as: "loser", types: [
          "OpenActive::Models::Schema::Person",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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