BikeCsvImporter: add comments

This commit is contained in:
Ilya Konanykhin
2017-03-20 22:49:45 +06:00
parent a6a616cf6d
commit b7729ae29a
6 changed files with 43 additions and 0 deletions
@@ -1,3 +1,4 @@
# Helper module to create various Bike instanct fields from a CSV row hash
class BikeCsvImporter
module BikeAttrs
def bike_attr_fields
+1
View File
@@ -1,3 +1,4 @@
# Helper module to create various cached instances for bike CSV imports
class BikeCsvImporter
module Cache
def cached_bike_purpose(purpose)
+1
View File
@@ -1,3 +1,4 @@
# Helper module to clean the incoming data from CSV fields
class BikeCsvImporter
module Cleaner
def clean_value(value)
+1
View File
@@ -1,3 +1,4 @@
# Helper module to create ActsAsLoggable log entries for a Bike instance from a CSV row hash
class BikeCsvImporter
module Logs
def log_entry_gone(bike, bike_hash)