Sha256: da0688f934b22a69775e0854946893472260e89afcab52139aa9fafe5c2ae621

Contents?: true

Size: 798 Bytes

Versions: 4

Compression:

Stored size: 798 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::MonetaryAmountDistribution,URI]
        define_property :training_salary, as: "trainingSalary", types: [
          "OpenActive::Models::Schema::MonetaryAmountDistribution",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::CategoryCode,String,URI]
        define_property :occupational_category, as: "occupationalCategory", types: [
          "OpenActive::Models::Schema::CategoryCode",
          "string",
          "URI",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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