Created
June 1, 2016 07:55
-
-
Save SwamiRama/3ebfb639c3ec1fc0fd6fe7d4e45d66be to your computer and use it in GitHub Desktop.
Create a service class
This file contains hidden or 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 TestClass | |
class << self | |
def perform(a:, b:) | |
instance = new(a, b) | |
instance.perform | |
end | |
end | |
def initialize(a:, b:) | |
end | |
def perform | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment