Merge pull request #5283 from viktorbenei/patch-1

Fix "duplicate method" issue
This commit is contained in:
Guo Xiang Tan 2017-11-03 09:32:45 +08:00 committed by GitHub
commit 88492b2b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class SingleSignOn
NONCE_EXPIRY_TIME = 10.minutes
attr_accessor(*ACCESSORS)
attr_accessor :sso_secret, :sso_url
attr_writer :sso_secret, :sso_url
def self.sso_secret
raise RuntimeError, "sso_secret not implemented on class, be sure to set it on instance"