class OmniAuth::MultiProvider::AlreadyBoundError
Attributes
bound_to[R]
current[R]
Public Class Methods
new(current, bound_to)
click to toggle source
# File lib/omniauth/multiprovider/error.rb, line 7 def initialize(current, bound_to) @current = current @bound_to = bound_to end
Public Instance Methods
message()
click to toggle source
# File lib/omniauth/multiprovider/error.rb, line 12 def message if @current == @bound_to 'bound_to_same' else 'bound_to_other' end end