Sha256: f85c520b2fc8c748fdae1124b4cacb04cd4b558c7618ce0e2c565f1bda30fb50

Contents?: true

Size: 437 Bytes

Versions: 4

Compression:

Stored size: 437 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]
        define_property :candidate, as: "candidate", 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/vote_action.rb
openactive-0.1.1 lib/openactive/models/schema/vote_action.rb
openactive-0.1.0 lib/openactive/models/schema/vote_action.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/vote_action.rb