Sha256: 02d511def81fdcba79874cb69db732d8e7f0bfe68b8dcdf563e66a83fcde0082

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

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

        # @return [String]
        define_property :iata_code, as: "iataCode", types: [
          "string",
        ]

        # @return [String]
        define_property :icao_code, as: "icaoCode", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/airport.rb