Class: Merchant

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

Class Method Summary collapse

Methods included from Earth::Base

define_schema

Class Method Details

.schema_definitionObject



7
8
9
10
11
12
13
# File 'lib/earth/industry/merchant.rb', line 7

def self.schema_definition
  lambda do
    string 'id'
    string 'name'
    string 'mcc'
  end
end