Class: MerchantCategory

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

Constant Summary collapse

TABLE_STRUCTURE =
<<-EOS

CREATE TABLE merchant_categories
  (
     mcc         CHARACTER VARYING(255) NOT NULL PRIMARY KEY,
     description CHARACTER VARYING(255)
  );

EOS

Instance Method Summary collapse

Methods included from Earth::Model

extend_mining, extended, registry

Instance Method Details

#nameObject



24
25
26
# File 'lib/earth/industry/merchant_category.rb', line 24

def name
  description
end