Sha256: a5813890461b7ec01fc5098a29f39756ccf9298556dcb8241362adfedb70af07

Contents?: true

Size: 458 Bytes

Versions: 6

Compression:

Stored size: 458 Bytes

Contents

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

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