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
# Personal Note: It was while working on this code that I heard about Jim Weirich's death. Sad day. RIP, Jim. | |
class FBAuth | |
attr_reader :errors, :signed_request, :user_id | |
def initialize(app_secret, signed_request, user_id) | |
@app_secret = app_secret | |
@errors = [] | |
@now = Time.now | |
@signed_request = signed_request |