Created
November 11, 2013 03:08
-
-
Save austinkettner/7407164 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
module Sparq::Mail::Formats | |
class Welcome | |
message = File.read("layout.slim") | |
end | |
class VerifyEmail | |
end | |
class NotifyUserBlocked | |
end | |
class ResetPassword | |
def self.reset_password(user_data, api_link) | |
raise Sparq::Errors::UserStructExpected.new(user_data) if not user_data.is_a?(Sparq::DataStructs::UserStruct) | |
message = %Q`#{user_data[:user_first_name]} has requested to reset his password. please processed to #{api_link} to confirm and complete the password reset` | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@@LAYOUT_SLIM = File.read("layout.slim")