Class: Uber::User
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#mobile_verified ⇒ Object
Returns the value of attribute mobile_verified.
-
#picture ⇒ Object
Returns the value of attribute picture.
-
#promo_code ⇒ Object
Returns the value of attribute promo_code.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Uber::Base
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/uber/models/user.rb', line 3 def email @email end |
#first_name ⇒ Object
Returns the value of attribute first_name.
3 4 5 |
# File 'lib/uber/models/user.rb', line 3 def first_name @first_name end |
#last_name ⇒ Object
Returns the value of attribute last_name.
3 4 5 |
# File 'lib/uber/models/user.rb', line 3 def last_name @last_name end |
#mobile_verified ⇒ Object
Returns the value of attribute mobile_verified.
3 4 5 |
# File 'lib/uber/models/user.rb', line 3 def mobile_verified @mobile_verified end |
#picture ⇒ Object
Returns the value of attribute picture.
3 4 5 |
# File 'lib/uber/models/user.rb', line 3 def picture @picture end |
#promo_code ⇒ Object
Returns the value of attribute promo_code.
3 4 5 |
# File 'lib/uber/models/user.rb', line 3 def promo_code @promo_code end |
#uuid ⇒ Object
Returns the value of attribute uuid.
3 4 5 |
# File 'lib/uber/models/user.rb', line 3 def uuid @uuid end |
Instance Method Details
#mobile_verified? ⇒ Boolean
5 6 7 |
# File 'lib/uber/models/user.rb', line 5 def mobile_verified? !!self.mobile_verified end |