Module: PerfectSched::Model
- Included in:
- Schedule, ScheduleCollection, Task
- Defined in:
- lib/perfectsched/model.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
25 26 27 |
# File 'lib/perfectsched/model.rb', line 25 def client @client end |
Instance Method Details
#config ⇒ Object
27 28 29 |
# File 'lib/perfectsched/model.rb', line 27 def config @client.config end |
#initialize(client) ⇒ Object
21 22 23 |
# File 'lib/perfectsched/model.rb', line 21 def initialize(client) @client = client end |