Sha256: 10af7e9f9b7c7f3637c8749fb4aad906d2c7e21b09c2cde30eb7673a9768881d

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 Bytes

Contents

class FlightSeatClass < ActiveRecord::Base
  set_primary_key :name
  
  has_many :distance_class_seat_classes, :foreign_key => 'seat_class_name', :primary_key => 'name', :class_name => 'FlightDistanceClassSeatClass'
  
  falls_back_on :name => 'fallback',
                :multiplier => 1
  
  col :name
  col :multiplier, :type => :float
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
earth-0.7.0 lib/earth/air/flight_seat_class.rb
earth-0.6.6 lib/earth/air/flight_seat_class.rb
earth-0.6.5 lib/earth/air/flight_seat_class.rb