Exception: Instagram::RegisterException
- Inherits:
-
StandardError
- Object
- StandardError
- Instagram::RegisterException
- Defined in:
- lib/instagram/register_exception.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#login ⇒ Object
Returns the value of attribute login.
-
#password ⇒ Object
Returns the value of attribute password.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
Instance Method Summary collapse
-
#initialize(login, password, email, proxy) ⇒ RegisterException
constructor
A new instance of RegisterException.
- #message ⇒ Object
Constructor Details
#initialize(login, password, email, proxy) ⇒ RegisterException
Returns a new instance of RegisterException.
5 6 7 8 9 10 |
# File 'lib/instagram/register_exception.rb', line 5 def initialize(login, password, email, proxy) @login = login @password = password @email = email @proxy = proxy end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/instagram/register_exception.rb', line 3 def email @email end |
#login ⇒ Object
Returns the value of attribute login.
3 4 5 |
# File 'lib/instagram/register_exception.rb', line 3 def login @login end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/instagram/register_exception.rb', line 3 def password @password end |
#proxy ⇒ Object
Returns the value of attribute proxy.
3 4 5 |
# File 'lib/instagram/register_exception.rb', line 3 def proxy @proxy end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/instagram/register_exception.rb', line 12 def "Error registering Instagram account: #{@login}:#{@password}, proxy: #{@proxy}" end |