Sha256: d1ddaec0f86a5af0f2ee0ce7751735bae436cd9ea8ef15f9f7cfb65c930731f4

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

class Industry < ActiveRecord::Base
  set_primary_key :naics_code
  
  has_many :industries_product_lines, :foreign_key => 'naics_code'
  has_many :product_lines, :through => :industries_product_lines
  has_many :industries_sectors, :foreign_key => 'naics_code'
  has_many :sectors, :through => :industries_sectors
  
  data_miner do
    tap "Brighter Planet's industry data", Earth.taps_server
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
earth-0.0.19 lib/earth/industry/industry.rb
earth-0.0.18 lib/earth/industry/industry.rb