Class: WhenHub::User
- Inherits:
-
Object
- Object
- WhenHub::User
- Defined in:
- lib/whenhub/user.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
Class Method Summary collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
17 18 19 |
# File 'lib/whenhub/user.rb', line 17 def client @client end |
Class Method Details
.build(client, attributes) ⇒ Object
19 20 21 22 23 |
# File 'lib/whenhub/user.rb', line 19 def self.build(client, attributes) new(attributes).tap do |schedule| schedule.client = client end end |