Class: Dotloop::Models::Folder

Inherits:
Object
  • Object
show all
Defined in:
lib/dotloop/models/folder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client.



10
11
12
# File 'lib/dotloop/models/folder.rb', line 10

def client
  @client
end

#loop_idObject

Returns the value of attribute loop_id.



12
13
14
# File 'lib/dotloop/models/folder.rb', line 12

def loop_id
  @loop_id
end

#profile_idObject

Returns the value of attribute profile_id.



11
12
13
# File 'lib/dotloop/models/folder.rb', line 11

def profile_id
  @profile_id
end

Instance Method Details

#documentsObject



14
15
16
# File 'lib/dotloop/models/folder.rb', line 14

def documents
  client.Document.all(profile_id: profile_id, loop_id: loop_id, folder_id: id)
end