Exception: OmniAuth::Strategies::Webmaker::WebmakerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/omniauth/strategies/webmaker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ WebmakerError

Returns a new instance of WebmakerError.



14
15
16
# File 'lib/omniauth/strategies/webmaker.rb', line 14

def initialize(error)
  self.error = error
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



12
13
14
# File 'lib/omniauth/strategies/webmaker.rb', line 12

def error
  @error
end

Instance Method Details

#messageObject



18
19
20
# File 'lib/omniauth/strategies/webmaker.rb', line 18

def message
  error
end