-
-
Save jakewilkins/92816efbae675cc3a739583a5703cef0 to your computer and use it in GitHub Desktop.
code for blog post
This file contains 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
class SomethingImporter | |
def self.call(arg) | |
new(arg).call | |
end | |
def initialize(arg) | |
@arg = arg | |
end | |
def call | |
do_initial_things | |
do_secondary_things | |
finalize_some_things | |
validate_everything_went_well | |
end | |
private | |
... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment