Skip to content

Instantly share code, notes, and snippets.

@keithtom
Last active October 6, 2017 01:55
Show Gist options
  • Save keithtom/dcc3eefe783da3b9efb9d865811ac894 to your computer and use it in GitHub Desktop.
Save keithtom/dcc3eefe783da3b9efb9d865811ac894 to your computer and use it in GitHub Desktop.
An example command for submitting an application.
# A user submits their loan application
class SubmitApplication
# store any state that you'll need to do your action
def initialize(applicant, loan)
@applicant = applicant
@loan = loan
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment