Class: DotloopApi::Models::Profile::Loop::TaskList

Inherits:
Object
  • Object
show all
Defined in:
lib/dotloop_api/models/profile.rb,
lib/dotloop_api/models/profile/loop/tasklist.rb,
lib/dotloop_api/models/profile/loop/tasklist/task.rb

Defined Under Namespace

Classes: Task

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client.



9
10
11
# File 'lib/dotloop_api/models/profile/loop/tasklist.rb', line 9

def client
  @client
end

#loop_idObject

Returns the value of attribute loop_id.



9
10
11
# File 'lib/dotloop_api/models/profile/loop/tasklist.rb', line 9

def loop_id
  @loop_id
end

#profile_idObject

Returns the value of attribute profile_id.



9
10
11
# File 'lib/dotloop_api/models/profile/loop/tasklist.rb', line 9

def profile_id
  @profile_id
end

Instance Method Details

#tasksObject



11
12
13
14
15
# File 'lib/dotloop_api/models/profile/loop/tasklist.rb', line 11

def tasks
  DotloopApi::EndPoints::Task.new(
    client:, profile_id:, loop_id:, task_list_id: id
  ).all
end