Sha256: f9af25c7a26297111adf16e068b7fb7d9a3e12f6a05c50bce961dc594b0cb7c4

Contents?: true

Size: 746 Bytes

Versions: 2

Compression:

Stored size: 746 Bytes

Contents

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

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

        # @return [OpenActive::Models::Schema::Organization,URI]
        define_property :service_operator, as: "serviceOperator", types: [
          "OpenActive::Models::Schema::Organization",
          "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/government_service.rb
openactive-0.4.0 lib/openactive/models/schema/government_service.rb