Sha256: 7d791289d8e77e852c1e15730cd0bdf064d2fded797b5eba2529aa5bf6f763c1

Contents?: true

Size: 605 Bytes

Versions: 4

Compression:

Stored size: 605 Bytes

Contents

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

        # @return [OpenActive::Enums::Schema::BoardingPolicyType,nil]
        define_property :boarding_policy, as: "boardingPolicy", types: [
          "OpenActive::Enums::Schema::BoardingPolicyType",
          "null",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/airline.rb
openactive-0.1.1 lib/openactive/models/schema/airline.rb
openactive-0.1.0 lib/openactive/models/schema/airline.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/airline.rb