Last active
September 5, 2022 19:55
-
-
Save michalkorzawski/bb3101184811fce64a3dbc9159c24a13 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # app/services/importers/users.rb | |
| module Importers | |
| class Users | |
| def initialize(file:) | |
| @file = file | |
| end | |
| def import_csv | |
| CSV.foreach(@file.path, headers: true) do |csv_row| | |
| ... | |
| end | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment