Class: Workarea::DataFile::TaxImport
- Defined in:
- app/models/workarea/data_file/tax_import.rb
Instance Method Summary collapse
Methods inherited from Import
#error?, #failed, #failure?, #file_name, #log, #process!, #releasable?, #successful?
Methods included from Operation
#complete?, #format, #mime_type, #name, #process!, #sample_file_content, #samples, #tempfile
Methods included from ApplicationDocument
Methods included from Sidekiq::Callbacks
assert_valid_config!, async, disable, enable, inline, #run_callbacks
Methods included from Mongoid::Document
Instance Method Details
#file_type ⇒ Object
18 19 20 |
# File 'app/models/workarea/data_file/tax_import.rb', line 18 def file_type 'tax_rates' end |
#model_class ⇒ Object
10 11 12 |
# File 'app/models/workarea/data_file/tax_import.rb', line 10 def model_class Workarea::Tax::Category end |
#model_type ⇒ Object
14 15 16 |
# File 'app/models/workarea/data_file/tax_import.rb', line 14 def model_type Workarea::Tax::Rate.name end |