Sha256: cefdf1f5df2d4dd3f51f004600eec10a3a707bdfe460db3fb903b882920166c2

Contents?: true

Size: 668 Bytes

Versions: 4

Compression:

Stored size: 668 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]
        define_property :option, as: "option", types: [
          "OpenActive::Models::Schema::Thing",
          "string",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

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