Exception: Base4R::CaptchaRequiredException

Inherits:
Exception
  • Object
show all
Defined in:
lib/client_login.rb

Overview

thrown when ClientLogin fails to authenticate because the ClientLogin API has requested that the user complete a captcha validation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(email) ⇒ CaptchaRequiredException

Create a CaptchaRequiredException to notify the user that email must complete a captcha validation



93
94
95
# File 'lib/client_login.rb', line 93

def initialize(email)
  @email = email
end

Instance Attribute Details

#emailObject (readonly)

Returns the value of attribute email.



89
90
91
# File 'lib/client_login.rb', line 89

def email
  @email
end