Class: Signnow::User
- Includes:
- Operations::Show
- Defined in:
- lib/signnow/user.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#created ⇒ Object
Returns the value of attribute created.
-
#credits ⇒ Object
Returns the value of attribute credits.
-
#email ⇒ Object
Returns the value of attribute email.
-
#emails ⇒ Object
Returns the value of attribute emails.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#has_atticus_access ⇒ Object
Returns the value of attribute has_atticus_access.
-
#id ⇒ Object
Returns the value of attribute id.
-
#identity ⇒ Object
Returns the value of attribute identity.
-
#is_logged_in ⇒ Object
Returns the value of attribute is_logged_in.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#pro ⇒ Object
Returns the value of attribute pro.
-
#subscriptions ⇒ Object
Returns the value of attribute subscriptions.
-
#teams ⇒ Object
Returns the value of attribute teams.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ User
constructor
Initializes the object using the given attributes.
Methods included from Operations::Show
Methods inherited from Base
#errors, #parse_timestamps, #set_attributes, #valid?
Methods included from Operations::Find
Methods included from Operations::Create
Methods included from Operations::All
Constructor Details
#initialize(attributes = {}) ⇒ User
Initializes the object using the given attributes
12 13 14 15 |
# File 'lib/signnow/user.rb', line 12 def initialize(attributes = {}) super(attributes) parse_booleans end |
Instance Attribute Details
#active ⇒ Object
Returns the value of attribute active.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def active @active end |
#attributes ⇒ Object
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def attributes @attributes end |
#created ⇒ Object
Returns the value of attribute created.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def created @created end |
#credits ⇒ Object
Returns the value of attribute credits.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def credits @credits end |
#email ⇒ Object
Returns the value of attribute email.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def email @email end |
#emails ⇒ Object
Returns the value of attribute emails.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def emails @emails end |
#first_name ⇒ Object
Returns the value of attribute first_name.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def first_name @first_name end |
#has_atticus_access ⇒ Object
Returns the value of attribute has_atticus_access.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def has_atticus_access @has_atticus_access end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def id @id end |
#identity ⇒ Object
Returns the value of attribute identity.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def identity @identity end |
#is_logged_in ⇒ Object
Returns the value of attribute is_logged_in.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def is_logged_in @is_logged_in end |
#last_name ⇒ Object
Returns the value of attribute last_name.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def last_name @last_name end |
#pro ⇒ Object
Returns the value of attribute pro.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def pro @pro end |
#subscriptions ⇒ Object
Returns the value of attribute subscriptions.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def subscriptions @subscriptions end |
#teams ⇒ Object
Returns the value of attribute teams.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def teams @teams end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/signnow/user.rb', line 5 def type @type end |