Class: WhenHub::User
- Inherits:
-
Object
- Object
- WhenHub::User
- Includes:
- ActiveModel::Model
- Defined in:
- lib/whenhub/user.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#createdAt ⇒ Object
Returns the value of attribute createdAt.
-
#displayName ⇒ Object
Returns the value of attribute displayName.
-
#id ⇒ Object
Returns the value of attribute id.
-
#login ⇒ Object
Returns the value of attribute login.
-
#name ⇒ Object
Returns the value of attribute name.
-
#photo ⇒ Object
Returns the value of attribute photo.
-
#schedulesFollowed ⇒ Object
Returns the value of attribute schedulesFollowed.
-
#twoFactor ⇒ Object
Returns the value of attribute twoFactor.
-
#updatedAt ⇒ Object
Returns the value of attribute updatedAt.
-
#username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
10 11 12 |
# File 'lib/whenhub/user.rb', line 10 def client @client end |
#createdAt ⇒ Object
Returns the value of attribute createdAt.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def createdAt @createdAt end |
#displayName ⇒ Object
Returns the value of attribute displayName.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def displayName @displayName end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def id @id end |
#login ⇒ Object
Returns the value of attribute login.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def login @login end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def name @name end |
#photo ⇒ Object
Returns the value of attribute photo.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def photo @photo end |
#schedulesFollowed ⇒ Object
Returns the value of attribute schedulesFollowed.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def schedulesFollowed @schedulesFollowed end |
#twoFactor ⇒ Object
Returns the value of attribute twoFactor.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def twoFactor @twoFactor end |
#updatedAt ⇒ Object
Returns the value of attribute updatedAt.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def updatedAt @updatedAt end |
#username ⇒ Object
Returns the value of attribute username.
7 8 9 |
# File 'lib/whenhub/user.rb', line 7 def username @username end |
Class Method Details
.build(client, attributes) ⇒ Object
12 13 14 15 16 |
# File 'lib/whenhub/user.rb', line 12 def self.build(client, attributes) new(attributes).tap do |schedule| schedule.client = client end end |