Class: DeathByCaptcha::User
- Defined in:
- lib/deathbycaptcha/models/user.rb
Overview
Model of a User returned by DeathByCaptcha API.
Instance Attribute Summary collapse
-
#balance ⇒ Object
Returns the value of attribute balance.
-
#is_banned ⇒ Object
Returns the value of attribute is_banned.
-
#rate ⇒ Object
Returns the value of attribute rate.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
Methods inherited from Model
Constructor Details
This class inherits a constructor from DeathByCaptcha::Model
Instance Attribute Details
#balance ⇒ Object
Returns the value of attribute balance.
6 7 8 |
# File 'lib/deathbycaptcha/models/user.rb', line 6 def balance @balance end |
#is_banned ⇒ Object
Returns the value of attribute is_banned.
6 7 8 |
# File 'lib/deathbycaptcha/models/user.rb', line 6 def is_banned @is_banned end |
#rate ⇒ Object
Returns the value of attribute rate.
6 7 8 |
# File 'lib/deathbycaptcha/models/user.rb', line 6 def rate @rate end |
#user ⇒ Object
Returns the value of attribute user.
6 7 8 |
# File 'lib/deathbycaptcha/models/user.rb', line 6 def user @user end |
Instance Method Details
#id ⇒ Object
8 9 10 |
# File 'lib/deathbycaptcha/models/user.rb', line 8 def id @user end |