Sha256: f435a4c13c02aacd8292db0745ff9df2945383c713afd26bcb8ed85cb6c51e1c

Contents?: true

Size: 710 Bytes

Versions: 2

Compression:

Stored size: 710 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Thing,String,URI]
        define_property :option, as: "option", types: [
          "OpenActive::Models::Schema::Thing",
          "string",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Thing,String,URI]
        define_property :action_option, as: "actionOption", types: [
          "OpenActive::Models::Schema::Thing",
          "string",
          "URI",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/choose_action.rb
openactive-0.4.0 lib/openactive/models/schema/choose_action.rb