Sha256: 7227b9f84f199bd3b73ef3012d9d605fa3a2aaa326c149a3ff4ef7fa406749ff

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

class Sector < ActiveRecord::Base
  set_primary_key :io_code

  has_many :product_lines_sectors, :class_name => 'ProductLinesSectors', :foreign_key => 'io_code'

  data_miner do
    schema Earth.database_options do
      string 'io_code'
      string 'description'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
earth-0.0.28 lib/earth/industry/sector.rb
earth-0.0.27 lib/earth/industry/sector.rb