Class: ActivePivot::Importer
- Inherits:
-
Struct
- Object
- Struct
- ActivePivot::Importer
- Defined in:
- lib/active_pivot/importer.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
Returns the value of attribute params.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#params ⇒ Object
Returns the value of attribute params
2 3 4 |
# File 'lib/active_pivot/importer.rb', line 2 def params @params end |
Class Method Details
.run(updated_after = 5.minutes.ago) ⇒ Object
3 4 5 |
# File 'lib/active_pivot/importer.rb', line 3 def self.run(updated_after = 5.minutes.ago) self.new({updated_after: updated_after}).run end |
Instance Method Details
#run ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/active_pivot/importer.rb', line 7 def run puts "Importing Projects" import_projects puts "Importing Epics" import_epics puts "Importing Stories" import_stories puts "Importing Activity - may take up to 10 minutes" import_activities end |