Skip to content

Instantly share code, notes, and snippets.

@penguinwokrs
Created June 18, 2018 12:35
Show Gist options
  • Save penguinwokrs/433ffe7501d221b13743a68669c7754f to your computer and use it in GitHub Desktop.
Save penguinwokrs/433ffe7501d221b13743a68669c7754f to your computer and use it in GitHub Desktop.
# frozen_string_literal: true
# reference https://www.omise.co/ja/api-webhooks
module Service
extend ActiveSupport::Concern
class_methods do
def perform(*args)
new(*args).perform
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment