Class: MerchantCategoryIndustry

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
Earth::Base
Defined in:
lib/earth/industry/merchant_category_industry.rb

Class Method Summary collapse

Methods included from Earth::Base

define_schema

Class Method Details

.schema_definitionObject



8
9
10
11
12
13
14
15
# File 'lib/earth/industry/merchant_category_industry.rb', line 8

def self.schema_definition
  lambda do
    string 'row_hash'
    string 'mcc'
    float  'ratio'
    string 'naics_code'
  end
end