Sha256: 46c6c0835778940e9dbe8c262c588a71265444027ed987c0c29e97939622b25d

Contents?: true

Size: 495 Bytes

Versions: 9

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 :icao_code, as: "icaoCode", types: [
          "string",
        ]

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/airport.rb
openactive-0.4.0 lib/openactive/models/schema/airport.rb
openactive-0.2.2 lib/openactive/models/schema/airport.rb
openactive-0.2.1 lib/openactive/models/schema/airport.rb
openactive-0.2.0 lib/openactive/models/schema/airport.rb
openactive-0.1.2 lib/openactive/models/schema/airport.rb
openactive-0.1.1 lib/openactive/models/schema/airport.rb
openactive-0.1.0 lib/openactive/models/schema/airport.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/airport.rb