Created
January 22, 2019 13:38
-
-
Save dhenze/bb32b7cdb72998b40807829bd6cb7225 to your computer and use it in GitHub Desktop.
This file contains 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 MemberRegistered | |
attr_reader :id, :name, :email, :registered_at | |
def initialize(id, name, email, registered_at) | |
@id = id | |
@name = name | |
@email = email | |
@registered_at = registered_at | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment