Sha256: 7945d729266a12207b8d34ec76ab7ac2e85c12bd09f83f454ce943bf5931df97

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Language,URI]
        define_property :language, as: "language", types: [
          "OpenActive::Models::Schema::Language",
          "URI",
        ]

        # @return [String,OpenActive::Models::Schema::Language,URI]
        define_property :in_language, as: "inLanguage", types: [
          "string",
          "OpenActive::Models::Schema::Language",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/write_action.rb
openactive-0.2.1 lib/openactive/models/schema/write_action.rb
openactive-0.2.0 lib/openactive/models/schema/write_action.rb