Skip to content

Instantly share code, notes, and snippets.

@cored
Created November 19, 2019 21:29
Show Gist options
  • Save cored/b70e47042c316a4b7920dabf02206a81 to your computer and use it in GitHub Desktop.
Save cored/b70e47042c316a4b7920dabf02206a81 to your computer and use it in GitHub Desktop.
def self.call(payload)
new(body: payload).call
end
def initialize(body:)
@body = body
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment