Module: PerfectSched::Model

Included in:
Schedule, ScheduleCollection, Task
Defined in:
lib/perfectsched/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



25
26
27
# File 'lib/perfectsched/model.rb', line 25

def client
  @client
end

Instance Method Details

#configObject



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