Class: InvoiceBar::User

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Searchable
Defined in:
app/models/invoice_bar/user.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.searchable_fieldsObject



37
38
39
# File 'app/models/invoice_bar/user.rb', line 37

def self.searchable_fields
  %w( name tax_id email phone )
end

Instance Method Details

#tax_id2Object



41
42
43
# File 'app/models/invoice_bar/user.rb', line 41

def tax_id2
  tax_id
end