Sha256: 6846778b309191822003e53c53a4e6201f695292307ab044a08bf8a30d59f9ea

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

class FlightDistanceClassSeatClass < ActiveRecord::Base
  set_primary_key :name
  
  belongs_to :distance_class, :foreign_key => 'distance_class_name', :primary_key => 'name', :class_name => 'FlightDistanceClass'
  
  col :name
  col :distance_class_name
  col :seat_class_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_distance_class_seat_class.rb
earth-0.6.6 lib/earth/air/flight_distance_class_seat_class.rb
earth-0.6.5 lib/earth/air/flight_distance_class_seat_class.rb