Sha256: 5ee67cd4e795e3791bd2562f5f36770cda643b591aff7536955188c5ec365ba1

Contents?: true

Size: 453 Bytes

Versions: 6

Compression:

Stored size: 453 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Person,URI]
        define_property :winner, as: "winner", types: [
          "OpenActive::Models::Schema::Person",
          "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/lose_action.rb
openactive-0.4.0 lib/openactive/models/schema/lose_action.rb
openactive-0.3.0 lib/openactive/models/schema/lose_action.rb
openactive-0.2.2 lib/openactive/models/schema/lose_action.rb
openactive-0.2.1 lib/openactive/models/schema/lose_action.rb
openactive-0.2.0 lib/openactive/models/schema/lose_action.rb