Skip to content

Instantly share code, notes, and snippets.

@anagromataf
Created December 20, 2018 14:28
Show Gist options
  • Save anagromataf/a88ab8798b49493b88ab13abe97c01b6 to your computer and use it in GitHub Desktop.
Save anagromataf/a88ab8798b49493b88ab13abe97c01b6 to your computer and use it in GitHub Desktop.
defmodule Store do
def prepare(checkout, transaction) do
store_transaction(checkout, transaction)
end
def commit(checkout) do
update_checkout(checkout)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment