Class: Clienteer::Digester::PhaseCreation
- Inherits:
-
Object
- Object
- Clienteer::Digester::PhaseCreation
- Defined in:
- lib/clienteer/digesters/phase_creation.rb
Instance Method Summary collapse
-
#initialize ⇒ PhaseCreation
constructor
A new instance of PhaseCreation.
- #process(row) ⇒ Object
Constructor Details
#initialize ⇒ PhaseCreation
Returns a new instance of PhaseCreation.
5 6 |
# File 'lib/clienteer/digesters/phase_creation.rb', line 5 def initialize end |
Instance Method Details
#process(row) ⇒ Object
8 9 10 11 |
# File 'lib/clienteer/digesters/phase_creation.rb', line 8 def process(row) row["phase"] = Phase.where(number: row["phase"]).first row end |