Class: WorkAccount

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/work_account.rb

Instance Method Summary collapse

Instance Method Details

#enable_invoicing?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/models/work_account.rb', line 8

def enable_invoicing?
  invoice_code && invoice_code.length > 0
end